summaryrefslogtreecommitdiff
path: root/test/files/neg/any-vs-anyref.scala
Commit message (Collapse)AuthorAgeFilesLines
* Better errors for Any/AnyRef issues.Paul Phillips2012-09-011-0/+29
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