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
Some(new C<nat>(0))
3.10.0
class C<T> { constructor (x: T) {} } datatype O<T> = Some(x: T) | None method main() { // works var v := new C<nat>(0); var c := Some(v); // fails when inlining v var c2 := Some(new C<nat>(0)); }
`dafny bug.dfy`
Getting a parse error when inlining v, in the line defining c2.
v
c2
bug.dfy(13,19): Error: closeparen expected 1 parse errors detected in bug.dfy
Mac
The text was updated successfully, but these errors were encountered:
Add test for issue #3366
694aa7b
Successfully merging a pull request may close this issue.
Dafny version
3.10.0
Code to produce this issue
Command to run and resulting output
What happened?
Getting a parse error when inlining
v
, in the line definingc2
.What type of operating system are you experiencing the problem on?
Mac
The text was updated successfully, but these errors were encountered: