summaryrefslogtreecommitdiff
path: root/test/files/run/macro-range
Commit message (Collapse)AuthorAgeFilesLines
* blackbox and whitebox macrosEugene Burmako2013-11-122-4/+4
| | | | | | | | | | | | | | | | | | 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/...
* Changes reflection tests to use shorter name constructorsDen Shabalin2012-12-252-6/+6
|
* evicts last traces of makro from our codebaseEugene Burmako2012-08-022-2/+2
| | | | Removes the stubs left out to appease the old starr, fixes macro tests.
* repairs the tests after the refactoring spreeEugene Burmako2012-06-082-7/+6
|
* removes Expr <-> Tree implicitsEugene Burmako2012-04-251-5/+5
|
* Next generation of macrosEugene Burmako2012-04-125-198/+108
| | | | | | | | | | | | | | | | | | | | | | Implements SIP 16: Self-cleaning macros: http://bit.ly/wjjXTZ Features: * Macro defs * Reification * Type tags * Manifests aliased to type tags * Extended reflection API * Several hundred tests * 1111 changed files Not yet implemented: * Reification of refined types * Expr.value splicing * Named and default macro expansions * Intricacies of interaction between macros and implicits * Emission of debug information for macros (compliant with JSR-45) Dedicated to Yuri Alekseyevich Gagarin
* Temporarily disabling debug traces in macro testsEugene Burmako2012-01-232-12/+22
|
* Progress with macrosEugene Burmako2012-01-202-0/+188
A short recap: * Macro expansion now works finely for instance macro invocations * Macros are now hidden behind -Xmacros * Bodies of macros now have "import _context._" in their preamble * Macros are now loaded from classpath, much like regular libraries * Macros can now override methods (in that case macro expansion does not crash if macro is not found, it just falls back to super) Review by @odersky.