sbt, the interactive build tool
Go to file
Jason Zaugg ef826584c2 Fix task macro's handling of Symbol owners in <qual>.value
The qualifier of the `.value` call may contain `DefTree`s (e.g.
vals, defs) or `Function` trees. When we snip them out of the
tree and graft them into a new context, we must also call
`changeOwner`, so that the symbol owner structure and the tree
structure are coherent.

Failure to do so resulted in a crash in the compiler backend.

Fixes #1150
2014-03-09 12:20:24 +01:00
util/appmacro/src/main/scala/sbt/appmacro Fix task macro's handling of Symbol owners in <qual>.value 2014-03-09 12:20:24 +01:00