sbt/compile
Martin Duhem 5a40641cc1 Classes that only inherit a macro don't have a macro
Prior to this commit, a class that inherited a macro from another
class was considered by incremental compiler as having a macro.
Now, only classes that explicitly define a macro are considered as having
a macro. This influences decision whether to invalidate (recompile)
dependencies of a file that inherits a macro upon a whitespace change.
From now on, we don't invalidate dependencies in such case which
results in much better incremental compiler experience when macros are
being involved. Check #1142 for detailed discussion.

The change to the behavior is reflected by marking the
source-dependencies/inherited-macros test as passing.
The source-dependencies/macro test covers the case of defining the macro
directly in source file. Therefore we know that the desired behavior of
invalidating dependencies of macros is preserved.

Fixes #1142
2014-04-03 18:27:17 +02:00
..
api Classes that only inherit a macro don't have a macro 2014-04-03 18:27:17 +02:00
inc Make change to CompileSetup backwards compatible. 2014-02-18 12:18:07 +01:00
integration/src/main/scala/sbt/compiler Include value of `nameHashing` flag in `CompileSetup`. 2014-02-17 17:00:19 +01:00
interface Merge pull request #1013 from gkossakowski/used-names-extraction 2013-12-03 03:30:21 -08:00
ivy/src/main/scala/sbt/compiler
persist Include value of `nameHashing` flag in `CompileSetup`. 2014-02-17 17:00:19 +01:00
src/main/scala/sbt
NOTICE