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...
I've been toying with an idea to use string interpolation to embed have strongly typed positioned assertions in fragments of source code within JUnit tests. Documenting this here for discussion....
``` scala> :paste -raw // Entering paste mode (ctrl-D to finish) package p1; object O1 { object O2 } // Exiting paste mode, now interpreting. scala> :power Power mode enabled....
``` ⚡ scalac $(f "class B; class C extends B { def m = 42 }"); rm B.class; scalac -Ydebug $(f "class Client { def c(c: C): C = c...
(to flesh out)
use a tuple instead this enables a better story for auto-tupling (https://github.com/lampepfl/dotty/pull/4311) deprecation path (for a given -Xsource level): - 2.14: - deprecation warning: application involving a multi-param infix operation...
In https://github.com/scala/scala/pull/6412 the caching that was added in 2.12.5 was turned off by default: > This PR switches the default in order to be conservative in a 2.12 minor release...
The local variable table is not kept up to date when modifying bytecode.
We should give guidance to folks who are pattern matching on Function nodes in macros or compiler plugins (perhaps via quasiquotes) that they will need to discriminate based on the...
I noticed that `mapConserve` is now inlined (in 2.12.x). That is ostensibly a progression, as it is marked with the `@inline` annotation. However, the benefit of devirtualizing the `apply` call...