diff options
author | Martin Odersky <odersky@gmail.com> | 2016-09-15 12:08:42 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-10-02 16:12:28 +0200 |
commit | b5132e87afe1a98467369d2f91ba4483a6a88ea4 (patch) | |
tree | f8fca34ccef6c3b9ff5d9d7f971f30aabd84a2e1 /src/dotty/tools/dotc/core/Flags.scala | |
parent | 84bc770bb7bcac2fe09a13c62c24aac1e3fda582 (diff) | |
download | dotty-b5132e87afe1a98467369d2f91ba4483a6a88ea4.tar.gz dotty-b5132e87afe1a98467369d2f91ba4483a6a88ea4.tar.bz2 dotty-b5132e87afe1a98467369d2f91ba4483a6a88ea4.zip |
Change owner as necessary when typing a TypedSplice
When typing an untpd.TypedSplice it could be that the owner
at the time the tree is originally typed is different from the owner
at the time the tree is unwrapped. In that case the owner needs
to be changed.
Problem was noticed in Course-2002-02 after changing Closure to
be a pure expression. This means that TypedSplices containing
closures are no longer lifted out from containing closures
during eta expansion, and the owner chain got corrupted.
Diffstat (limited to 'src/dotty/tools/dotc/core/Flags.scala')
0 files changed, 0 insertions, 0 deletions