Yichen Xu
Yichen Xu
## Compiler version `3.2.0-RC2` (`main` branch) ## Minimized code ```Scala trait Foo case class Bar[A, T val xs0: *:[a, T] = ??? val t0: a = xs0.head[(a *: T)] val...
Previously, GADT reasoning only works on type parameters. This PR supports GADT reasoning for path-dependent types (that is, type members addressed from stable paths). It mainly makes the following two...
## Compiler version `3.1.3-RC4` ## Minimized code ```Scala class Unit object unit extends Unit type Top = {*} Any type LazyVal[T] = {*} Unit -> T case class Foo[T](x: T)...
fixes #20272
## Compiler version `main` ## Minimized code ```Scala import language.experimental.captureChecking trait Iterable[T] { self: Iterable[T]^ => def map[U](f: T => U): Iterable[U]^{this, f} } object Test { def assertEquals[A, B](a:...
Fixes #20204
alternative to #20545
fixes #18559 This PR adds the `-Wall` option, which enables all warnings when it is set. Note that when `-Wunused` is not set (empty), setting `-Wall` is equivalent to passing...
fixes #21507