scala-dev
scala-dev copied to clipboard
Scala 2 team issues. Not for user-facing bugs or directly actionable user-facing improvements. For build/test/infra and for longer-term planning and idea tracking. Our bug tracker is at https://github...
Dotty has implemented a new encoding for trait constructors. Scala 2.14 and 3.0 should align on this implementation detail. The alignment could come from: - Scala 2.14 adopting the new...
``` $ cat sandbox/A_1.scala class C { class Inner } object Test { def main(args: Array[String]): Unit = { val c = new C val i = new c.Inner (i:...
We have a long tail of bugs from places in the compiler that forget to unwrap them. I propose to encoded them as tree attachments rather than a wrapper node....
for dotty compat, see https://github.com/lampepfl/dotty/pull/5633
backport from https://github.com/lampepfl/dotty/pull/5754 See also deprecation of package object with extends in #441
- [ ] SI-6103 Mixin generates method signatures that confuse javac - [ ] SI-8592 mixin method overrides final method with variation on the reflect.{api,internal} pattern of abstract types implemented...
e.g. `scala.Some` (https://github.com/scala/scala/compare/2.12.x...retronym:topic/pure-some?expand=1) Perhaps also: - `Left` / `Right` / `Success` @lrytz WDYT?
In Dotty, abstract vals cannot be overriden by lazy vals for soundness reasons (https://github.com/lampepfl/dotty/pull/1051). On the other hand, we allow abstract lazy vals unlike scalac. Could this limitation be lifted...