diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2014-02-07 17:06:58 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2014-02-07 17:06:58 +0100 |
commit | 947baf2473a1f797545147e551740900013e5b1d (patch) | |
tree | 44c060566ff4652db5b25f89ef67022d668b2767 /test/files/scalacheck/quasiquotes/TypeDeconstructionProps.scala | |
parent | 3306967c561e3ea34306419d5351b4e20673cc8b (diff) | |
parent | a98eee51760c4961a5419747d2828d9765a9754b (diff) | |
download | scala-947baf2473a1f797545147e551740900013e5b1d.tar.gz scala-947baf2473a1f797545147e551740900013e5b1d.tar.bz2 scala-947baf2473a1f797545147e551740900013e5b1d.zip |
Merge pull request #3477 from densh/topic/syntactic-empty-type-tree
Rename EmptyTypTree into SyntacticEmptyTypeTree
Diffstat (limited to 'test/files/scalacheck/quasiquotes/TypeDeconstructionProps.scala')
-rw-r--r-- | test/files/scalacheck/quasiquotes/TypeDeconstructionProps.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/scalacheck/quasiquotes/TypeDeconstructionProps.scala b/test/files/scalacheck/quasiquotes/TypeDeconstructionProps.scala index 44f110a3d5..0fdcc19052 100644 --- a/test/files/scalacheck/quasiquotes/TypeDeconstructionProps.scala +++ b/test/files/scalacheck/quasiquotes/TypeDeconstructionProps.scala @@ -52,4 +52,10 @@ object TypeDeconstructionProps extends QuasiquoteProperties("type deconstruction assert(arglast ≈ tq"C") assert(restpe ≈ tq"D") } + + property("match empty type tree") = test { + val tq"" = TypeTree() + // matches because type tree isn't syntactic without original + val tq"" = tq"${typeOf[Int]}" + } } |