liufengyun / gestalt

gestalt : portable and solid macros for Scala
https://github.com/scalacenter/macros
31 stars 3 forks source link

fix owner problem in typed transform #93

Closed liufengyun closed 7 years ago

liufengyun commented 7 years ago

Previous implementation auto-updates owners when the typed constructors are used. However, it doesn't auto-update owners relative to the enclosing tree when transform is used. This PR reproduces the problem and proposes a fix.

liufengyun commented 7 years ago

@xeno-by this is an owner problem that's not handled well in the previous implementation, which may be relevant to scalamacros as well.

liufengyun commented 7 years ago

Thanks @xeno-by !