Scala Buggabot
Scala Buggabot
Imported From: https://issues.scala-lang.org/browse/SI-9765?orig=1 Reporter: David Barri (japgolly) Affected Versions: 2.11.8
@paulp said: **case HasInts =>** uses value equality so you shouldn't expect that to work. It might be HasInts, or it could be anything which compares equal to HasInts. But...
Imported From: https://issues.scala-lang.org/browse/SI-8545?orig=1 Reporter: @retronym Affected Versions: 2.11.0
@adriaanm said: Labelling as "language-change" to indicate it could break source compatibility.
Imported From: https://issues.scala-lang.org/browse/SI-7675?orig=1 Reporter: Donny Nadolny (dnadolny) Affected Versions: 2.10.2 See #3120
@paulp said: It's only valid java code because java doesn't know anything about scala. That it would work compiling against the class files is a manifestation of the same thing....
Donny Nadolny (dnadolny) said: There is no object SomeScala, but in Java that import means you can refer to the inner class unqualified. Given this Scala: {code:title=scalapkg/Main.scala} package scalapkg import...
@paulp said: "How are you supposed to use a scala inner class from java?" The question presupposes that you're supposed to. It's sure to be unsound - there are good...
Donny Nadolny (dnadolny) said: Maybe I'm missing something, but: The code isn't trying to do "new Foo#Bar" (which the Java compiler would already reject), it's just using Foo#Bar in a...
@retronym said: If you have mixed Java/Scala sources, scalac has to parse and typecheck everything other than method/field RHSs. The error isn't coming from an "extra check", its just coming...