summaryrefslogtreecommitdiff
path: root/test/files/neg/not-possible-cause.check
Commit message (Collapse)AuthorAgeFilesLines
* Better errors for Any/AnyRef issues.Paul Phillips2012-09-011-4/+3
| | | | | | | | | | | | | | | When an error occurs because some type does not conform to AnyRef (and an AnyRef-derived type would have sufficed) try to say something useful about the situation. This commit also initializes scope members before printing error messages because the + version seems more useful than the - version (taken from one of the checkfile diffs.) - def <init>: <?> - def methodIntIntInt: <?> + def <init>(): X + def methodIntIntInt(x: scala.Int,y: scala.Int): scala.Int
* Suppressed 'possible cause' mis-warning.Paul Phillips2012-09-011-0/+10
I have seen this warning a bunch of times and it has not yet been close to right.