summaryrefslogtreecommitdiff
path: root/test/files/neg/t5689.check
Commit message (Collapse)AuthorAgeFilesLines
* refactors macro compilationEugene Burmako2013-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Upgrades the way that macro defs are compiled by factoring out most of the logic in typedMacroBody and related errors in ContextErrors into an standalone cake. This leads to tighter cohesion and better code reuse as the cake is isolated from the rest of the compiler and is much easier to evolve than just a method body. Increased convenience of coding macro compilation allowed me to further clarify the implementation of the macro engine (e.g. take a look at Validators.scala) and to easily implement additional features, namely: 1) Parameters and return type of macro implementations can now be plain c.Tree's instead of previously mandatory c.Expr's. This makes macros more lightweight as there are a lot of situations when one doesn't need to splice macro params (the only motivation to use exprs over trees). Also as we're on the verge of having quasiquotes in trunk, there soon will be no reason to use exprs at all, since quasiquotes can splice everything. 2) Macro implementations can now be defined in bundles, standalone cakes built around a macro context: http://docs.scala-lang.org/overviews/macros/bundles.html. This further reduces boilerplate by simplifying implementations complex macros due to the fact that macro programmers no longer need to play path-dependent games to use helpers.
* Normalized line endings.Paul Phillips2012-09-201-7/+7
| | | | | | This brings all the files into line with the .gitattributes settings, which should henceforth be automatically maintained by git.
* evicts last traces of makro from our codebaseEugene Burmako2012-08-021-2/+2
| | | | Removes the stubs left out to appease the old starr, fixes macro tests.
* rethinks tagsEugene Burmako2012-04-231-1/+1
| | | | | * introduces ArrayTag and ErasureTag * all type tags now feature erasure
* fixes SI-5689Eugene Burmako2012-04-211-0/+7