summaryrefslogtreecommitdiff
path: root/test/files/run/t4859.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-4859 Retain MODULE_LOAD in dead code elim.Jason Zaugg2013-01-261-1/+1
| | | | | | Without this, the following test fails: SCALAC_OPTS="-optimize" ./test/partest test/files/run/t4859.scala
* SI-4859 Don't elide qualifiers when selecting nested modules.Jason Zaugg2013-01-261-0/+29
Otherwise we fail to throw in: {???; Predef}.DummyImplicit.dummyImplicit We still elide the initialization of `Outer` in `Outer.Inner.foo` as before, although that seems a little dubious to me. In total, we had to change RefChecks, Flatten, and GenICode to effect this change. A recently fixed bug in tail call elimination was also due to assuming that the the qualifier of a Select node wasn't worthy of traversal. Let's keep a close eye out for more instances of this problem.