scala
scala copied to clipboard
Scala 2 compiler and standard library. Scala 2 bugs at https://github.com/scala/bug; Scala 3 at https://github.com/scala/scala3
fixes scala/bug#12632 This might affect anyone who has scala-compiler in their dependencies. As discussed on the ticket, it is likeliest to affect the sbt 1.x plugin ecosystem. draft to see...
An error with inheritance that previously resulted in a runtime exception is now correctly rejected. Erasure already checks that if the bridge overrides a member, then the bridged method also...
Document that inherited `isEmpty`, `head`, `tail` must be overridden. Supply `isEmpty` to avoid degenerate behavior, but tweak `SeqOps` for binary compatibility. Fixes scala/bug#11697
Fixes scala/bug#12171 Fixes scala/bug#12159 Also adds test coverage for scala/bug#12474 The `permits` clause is ignored and Java `sealed` has Scala semantics, so that extensions in Scala cannot be permitted. `ClassfileParser`...
in case of compilation error due to incorrect application of "abstract override" flags, the compiler output contained "absoverride" which have been changed to "abstract override". All tests in neg category...
Fixes [#12628](https://github.com/scala/bug/issues/12628). If this will be merged, It'd be cool to get ported to 2.13 too.
I got curious how painful this would be, and whether there would be false positives. I didn't see anything I would consider a false positive. (Except for `StringBuilder`, which Som...
Implicit definitions are required to have an explicit type ascribed in Scala 3. Now Scala 2 warns if the type is missing (and therefore inferred). Under `-Xsource:3`, the warning becomes...