summaryrefslogtreecommitdiff
path: root/test/files/scalacheck/quasiquotes/PatternDeconstructionProps.scala
Commit message (Collapse)AuthorAgeFilesLines
* Tweak parser entry point for pqDenys Shabalin2014-02-111-0/+5
| | | | | | Previously pq used pattern1 which required parens to be used in alternative pattern. This commit tweaks it to allow pq"a | b" syntax. Also adds some tests for alternative syntax.
* SI-8173 add support for patterns like init :+ last to quasiquotesDenys Shabalin2014-02-021-1/+11
| | | | | | | | | | | | 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-8/+2
|
* tests for quasiquotesDen Shabalin2013-07-081-0/+35
Introduces an extensive ScalaCheck-based test suite for recently implemented quasiquotes. Provides tools for syntactic tree comparison and verifying compilation error messages.