summaryrefslogtreecommitdiff
path: root/test/files/run/t4729
Commit message (Collapse)AuthorAgeFilesLines
* SI-4729, overriding java varargs in scala.Paul Phillips2013-01-302-0/+33
[backport] This was a bad interaction between anonymous subclasses and bridge methods. new Foo { override def bar = 5 } Scala figures it can mark "bar" private since hey, what's the difference. The problem is that if it was overriding a java-defined varargs method in scala, the bridge method logic says "Oh, it's private? Then you don't need a varargs bridge." Hey scalac, you're the one that made me private! You made me like this! You! Conflicts: src/compiler/scala/tools/nsc/typechecker/RefChecks.scala