We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SBT 1.5.3, Scala 3.0.0
trait AAA[Y] class BBB def f[MM <: AAA[MM]](): BBB = new BBB
The compiler gives no warnings/errors, but the doc target in sbt (right out of sbt new scala/scala3.g8, no additions to build.sbt) gives a warning,
doc
sbt
build.sbt
[warn] -- Warning: src/main/scala/Main.scala:4:4 -------------------------------------- [warn] 4 |def f[MM <: AAA[MM]](): BBB = new BBB [warn] |^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [warn] |scala.MatchError: LazyRef(...) (of class dotty.tools.dotc.core.Types$LazyRef) [warn] | at dotty.tools.scaladoc.tasty.TypesSupport.dotty$tools$scaladoc$tasty$TypesSupport$$inner(TypesSupport.scala:262) [warn] | at dotty.tools.scaladoc.tasty.TypesSupport.inner$$anonfun$5(TypesSupport.scala:190) [warn] | at scala.collection.immutable.List.map(List.scala:246) [warn] | at dotty.tools.scaladoc.tasty.TypesSupport.dotty$tools$scaladoc$tasty$TypesSupport$$inner(TypesSupport.scala:190)
I'd expect no warnings here --- this seems like an internal matter.
The text was updated successfully, but these errors were encountered:
Duplicate of #12327. Fixed in 3.0.1-RC1.
Sorry, something went wrong.
Per https://gitter.im/scala/scala?at=60b7cefb3d43a15a65de67fb
No branches or pull requests
Compiler version
SBT 1.5.3, Scala 3.0.0
Minimized code
Output
The compiler gives no warnings/errors, but the
doc
target insbt
(right out of sbt new scala/scala3.g8, no additions tobuild.sbt
) gives a warning,Expectation
I'd expect no warnings here --- this seems like an internal matter.
The text was updated successfully, but these errors were encountered: