Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | resetAttrs now always erases This.tpe | Eugene Burmako | 2013-02-17 | 1 | -0/+1 |
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. |