scala / scala-dev

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.com/scala/bug/issues
Apache License 2.0
130 stars 15 forks source link

Investigate warnings produced by Scala 3 compiler when compiling 2.13 standard library #775

Closed SethTisue closed 3 years ago

SethTisue commented 3 years ago

With an eye towards eventually enabling fatal warnings.

For example, at https://github.com/scala/bug/issues/12408 Lukas observed that compiling the collections gives a bunch of "the type test for ... cannot be checked at runtime" warnings.

som-snytt commented 3 years ago

The deprecated case class issue is already lodged at https://github.com/lampepfl/dotty/issues/11022

som-snytt commented 3 years ago

The deprecation in scala.io.Position companion is explained at https://github.com/lampepfl/dotty/issues/12706

lrytz commented 3 years ago

https://github.com/scala/bug/issues/12439 covers the remaining unchecked warnings

@nowarn support (https://github.com/lampepfl/dotty/pull/12857) will handle most deprecations that Scala 3 issues.

dwijnand commented 3 years ago

scala/bug#12439 covers the remaining unchecked warnings