diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2015-07-24 15:35:14 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2015-07-24 16:27:31 +0200 |
commit | 512d19387da86ce95d7edd1742bf03287cf68a39 (patch) | |
tree | 6864fe76420c8a06a4e9fd880731048c322cf0f6 /test/files/run/t5676.scala | |
parent | 1a74e38366efe8b8fc1c189a591870603ef043a0 (diff) | |
download | scala-512d19387da86ce95d7edd1742bf03287cf68a39.tar.gz scala-512d19387da86ce95d7edd1742bf03287cf68a39.tar.bz2 scala-512d19387da86ce95d7edd1742bf03287cf68a39.zip |
Cleanup in Refchecks
For historical reasons, when eliminating ModuleDef trees, RefChecks
would check if moduleVar field already exists, and only create it if
not. In reality, the lookup would always fail.
When initially committed, the moduleVar could be created either by
the RefChecks transformer or info transformer, see 256aca6.
This was later changed (3f1f0a4), after which RefChecks only creates
a moduleVar when eliminating a ModuleDef.
Diffstat (limited to 'test/files/run/t5676.scala')
0 files changed, 0 insertions, 0 deletions