-
Notifications
You must be signed in to change notification settings - Fork 1.1k
dotty-doc-bootstrapped can't be compiled with -Ycheck:all #4295
New issue
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
Comments
Could you make a minimal example reproducing the problem? Also can you check if it happens on top of #4183 ? |
gsps
added a commit
to gsps/dotty
that referenced
this issue
Apr 11, 2018
Given that #4183 has been merged, I'll try again once I've rebased my branch on top of master. |
gsps
added a commit
to gsps/dotty
that referenced
this issue
Apr 20, 2018
gsps
added a commit
to gsps/dotty
that referenced
this issue
Apr 21, 2018
OlivierBlanvillain
added a commit
to dotty-staging/dotty
that referenced
this issue
Feb 6, 2019
Seams to be fixed on master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the current build dotty-doc is not compiled with any
-Ycheck
s, but if ones does, e.g., by addingscalacOptions ++= "-Ycheck:all"
todottyDocSettings
in Build.scala, then the bootstrapped compiler fails as follows:The culprit here is the
Map.empty
infound in
JavaConverters.scala
.One can work around the problem by adding a type parameter to
OptMap[V]
and instantiating the types inMap.empty[String, V]
explicitly, but I suppose the Checker should be adapted.The text was updated successfully, but these errors were encountered: