diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-02-16 23:42:09 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-02-17 00:11:54 +0100 |
commit | e2a17d9c8234bf620ba0109f9ab4bae822c20bf0 (patch) | |
tree | f1ff6a3a618866b9facdaadc31949ae0bc88bb22 /test/files/pos/t1176 | |
parent | 466fc670a38836dfb81d75f72d46ddcaa12bc3bb (diff) | |
download | scala-e2a17d9c8234bf620ba0109f9ab4bae822c20bf0.tar.gz scala-e2a17d9c8234bf620ba0109f9ab4bae822c20bf0.tar.bz2 scala-e2a17d9c8234bf620ba0109f9ab4bae822c20bf0.zip |
resetAttrs now always erases This.tpe
The symbol of This, if it points to a package class, isn't touched, just
as usual, so that our Select(Select(Select(...))) => This(...) optimization
works fine with attr reset.
However the tpe is now erased, so that subsequent reflective compilation
doesn't spuriously fail when seeing that some subtrees of a tree being
compiled are typed.
Erasing the tpe doesn't pose even a tiniest problem, because, as it can
be seen in typedThis, type is trivially reconstructed from the symbol.
Diffstat (limited to 'test/files/pos/t1176')
0 files changed, 0 insertions, 0 deletions