We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Latest nightly.
import language.experimental.captureChecking import caps._ trait Abstract: type C <: CapSet def boom(): Unit^{this.C^} class Concrete extends Abstract: type C = Nothing def boom() = () // dotty.tools.dotc.cc.IllegalCaptureRef: Nothing
The compiler crashes with dotty.tools.dotc.cc.IllegalCaptureRef: Nothing.
dotty.tools.dotc.cc.IllegalCaptureRef: Nothing
The text was updated successfully, but these errors were encountered:
bracevac
No branches or pull requests
Compiler version
Latest nightly.
Minimized code
Output
The compiler crashes with
dotty.tools.dotc.cc.IllegalCaptureRef: Nothing
.The text was updated successfully, but these errors were encountered: