summaryrefslogtreecommitdiff
path: root/test/files/pos/private-types-after-typer.scala
Commit message (Collapse)AuthorAgeFilesLines
* Corrects behavior of finalResultType.Paul Phillips2013-09-131-0/+9
The implementation had come to depend on finalResultType accidentally doing things beyond its charter - in particular, widening types. After hunting down and fixing the call sites depending on the bugs, I was able to rewrite the method to do only what it's supposed to do. I threw in a different way of writing it entirely to suggest how some correctness might be obtained in the future. It's a lot harder for a method written like this to break.