summaryrefslogtreecommitdiff
path: root/test/files/run/t6394a
Commit message (Collapse)AuthorAgeFilesLines
* blackbox and whitebox macrosEugene Burmako2013-11-121-2/+2
| | | | | | | | | | | | | | | | | | This is the first commit in the series. This commit only: 1) Splits Context into BlackboxContext and WhiteboxContext 2) Splits Macro into BlackboxMacro and WhiteboxMacro 3) Introduces the isBundle property in the macro impl binding Here we just teach the compiler that macros can now be blackbox and whitebox, without actually imposing any restrictions on blackbox macros. These restrictions will come in subsequent commits. For description and documentation of the blackbox/whitebox separation see the official macro guide at the scaladoc website: http://docs.scala-lang.org/overviews/macros/blackbox-whitebox.html Some infrastructure work to make evolving macros easier: compile partest-extras with quick so they can use latest library/reflect/...
* enclosures are now strongly typed and are no longer valsEugene Burmako2012-12-251-1/+1
|
* SI-6394 fixes macros.Context.enclosingClassEugene Burmako2012-09-192-0/+16
Previously I used typer.context.enclClass, but it seems to do something completely unexpected, so I switched to manual context traversal.