sbt/compile
Martin Duhem 26e2449263 Never inspect twice the same macro application
In Scala 2.10.4, this macro can produce a stack overflow :

    def foo(a: Any): Any = macro impl
    def impl(c: Context)(a: c.Expr[Any]): c.Expr[Any] = a

Here, an application such as `foo(someVal)` will produce the expansion
`someVal`. As expected, `someVal` has `original` tree `foo(someVal)`,
but if we inspect this tree, we will find that `someVal` has an
original tree, but it shouldn't.

Moreover, in Scala 2.11, some macros have their own application as
`original` trees.

See sbt/sbt#1237 for a description of these problems.

This commit fixes these two problems.

Fixes sbt/sbt#1237
2014-08-18 09:22:16 +02:00
..
api Bump expected 2.11 module versions so we can compile with 2.11 2014-05-14 19:08:05 -04:00
inc Break Incremental.scala into smaller files. 2014-05-21 16:23:55 +02:00
integration/src/main/scala/sbt/compiler added scalariform 2014-05-01 12:50:07 -04:00
interface Never inspect twice the same macro application 2014-08-18 09:22:16 +02:00
ivy/src/main/scala/sbt/compiler added scalariform 2014-05-01 12:50:07 -04:00
persist Ensure sequences in analysis files are read in order. 2014-05-17 01:04:14 +00:00
src/main/scala/sbt added scalariform 2014-05-01 12:50:07 -04:00
NOTICE - Stuart's improvements to triggered execution 2010-07-05 12:53:37 -04:00