summaryrefslogtreecommitdiff
path: root/test/files/scalacheck/quasiquotes/DefinitionDeconstructionProps.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-8076 improve support for implicit argument listDenys Shabalin2014-01-161-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for construction and deconstruction of implicit argument list which was originally suggested by @cvogt. 1. Splicing vale into implicit argument list automatically adds implicit flag to them: val x = q"val x: Int" q"def foo(implicit $x)" // <=> q"def foo(implicit x: Int)" 2. One might extract implicit argument list separately from other argument lists: val q”def foo(...$argss)(implicit ..$impl)" = q"def foo(implicit x: Int) // argss is Nil, impl contains valdef for x But this doesn't require you to always extract it separatly: val q”def foo(...$argss)" = q"def foo(implicit x: Int) // argss contains valdef for x
* SI-7979 Fix quasiquotes crash on mismatch between fields and constructorDen Shabalin2013-12-101-0/+16
|
* simplify imports in quasiquotes scalacheck testsDen Shabalin2013-11-121-7/+2
|
* SI-6841 SI-6657 add support for packages into quasiquotes and toolboxDen Shabalin2013-10-141-0/+24
| | | | | | In order to implement this a new parser entry point `parseStatsOrPackages` that augments current parseStats with ability to parse "package name { ... }" syntax.
* better support for ValDefs, VarDefs and DefDefsDen Shabalin2013-09-051-0/+9
|
* first-class early def splicing and extraction supportDen Shabalin2013-09-051-2/+43
|
* refactor definition tests into separate subsuiteDen Shabalin2013-09-051-0/+97