summaryrefslogtreecommitdiff
path: root/test/files/scalacheck/quasiquotes/TypeDeconstructionProps.scala
Commit message (Collapse)AuthorAgeFilesLines
* Represent tq"" as SyntacticEmptyTypeTree rather than TypeTree()Denys Shabalin2014-02-071-0/+6
| | | | | | | | | | | | Such representation codifies the fact that type tree that doesn't have embedded syntactic equivalent must have been inferred or otherwise provided by the compiler rather than specified by the end user. Additionally it also ensures that we can still match trees without explicit types (e.g. vals without type) after typechecking. Otherwise the same quote couldn't be used in situations like: val q"val x = 42" = typecheck(q"val x = 42")
* SI-8173 add support for patterns like init :+ last to quasiquotesDenys Shabalin2014-02-021-6/+26
| | | | | | | | | | | | Adds support for patterns like: val q"{ ..$init; $last }" = q"{ a; b; c }" // init == List(q"a", q"b") // last == q"c" Which under the hood get compiled as `:+` patterns: SyntacticBlock(init :+ last)
* simplify imports in quasiquotes scalacheck testsDen Shabalin2013-11-121-7/+2
|
* unify handling of references to scala members for functions and tuplesDen Shabalin2013-09-051-1/+1
|
* add support for function type splicing and extractionDen Shabalin2013-09-051-0/+6
|
* SI-7196 add support for refineStat splicing and extractionDen Shabalin2013-09-051-0/+5
|
* tests for quasiquotesDen Shabalin2013-07-081-0/+29
Introduces an extensive ScalaCheck-based test suite for recently implemented quasiquotes. Provides tools for syntactic tree comparison and verifying compilation error messages.