-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Private types leaking in public signatures should be reported as errors even under -language:Scala2 #4154
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
The problem comes from a private type leaking into a public signature in scalatest, private leaks are errors on Dotty unless |
Collected appears in the signature of public members, therefore it cannot be private. See discussion in scala/scala3#4154
Fix pushed: dotty-staging/scalatest@39c1f74 |
Collected appears in the signature of public members, therefore it cannot be private. See discussion in scala/scala3#4154
Collected appears in the signature of public members, therefore it cannot be private. See discussion in scala/scala3#4154
If we implement this check in Scala2 mode, then we can close #5831. |
https://travis-ci.org/lampepfl/dotty-community-build/jobs/355301166
Regression introduced in #4013
The text was updated successfully, but these errors were encountered: