summaryrefslogtreecommitdiff
path: root/test/files/run/elidable-opt.scala
Commit message (Collapse)AuthorAgeFilesLines
* Reworked and restored elidable.Paul Phillips2012-02-221-0/+85
Found a better elidable implementation which is robust against other parts of the compiler doing their things. Calls to elidable methods are replaced with zero of the same type. Elidable methods themselves remain in place, but with their body replaced with a zero of the method return type. Thus is everything to be found where it is expected to be found, but nothing will be found where nothing ought to be found. Nothing of course will never be found.