Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | *boxContext => *box.Context , *boxMacro => *box.Macro | Eugene Burmako | 2014-01-12 | 1 | -1/+1 |
| | | | | | | | | | | Performs the following renamings: * scala.reflect.macros.BlackboxContext to scala.reflect.macros.blackbox.Context * scala.reflect.macros.BlackboxMacro to scala.reflect.macros.blackbox.Macro * scala.reflect.macros.WhiteboxContext to scala.reflect.macros.whitebox.Context * scala.reflect.macros.WhiteboxMacro to scala.reflect.macros.whitebox.Macro https://groups.google.com/forum/#!topic/scala-internals/MX40-dM28rk | ||||
* | SI-8013 Nowarn on macro str interpolation | Som Snytt | 2013-12-04 | 1 | -0/+33 |
When warning about stray "foo $bar" under `-Xlint`, which may be missing an interpolator id, suppress the warning if we're in the middle of a macro expansion, since we have no useful heuristic to apply to the expanded tree. The test for whether the string is part of an expanded tree is to check all open macros for an expanded tree that contains the literal tree under scrutiny. (This is deemed more paranoid than looking for a macro application that is an enclosing position.) |