-
Notifications
You must be signed in to change notification settings - Fork 254
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
"compilation of seq<TRAIT> is not supported"; consider introducing a ghost #406
Labels
kind: enhancement
Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
Comments
It seems like this is due to the fact that the translations of dafny/Test/dafny0/RuntimeTypeTests0.dfy Lines 4 to 12 in 54799fc
|
robin-aws
added a commit
to aws/aws-encryption-sdk-dafny
that referenced
this issue
Nov 5, 2019
This was referenced Mar 4, 2020
robin-aws
added a commit
that referenced
this issue
Mar 9, 2020
Addresses #406 for C# only. See comments in Test/dafny0/RuntimeTypeTests0.dfy for details. BREAKING CHANGE: Sequences are now represented by a Dafny.ISequence<T> interface, which will break external code.
robin-aws
added
the
kind: enhancement
Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
label
Jun 23, 2020
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind: enhancement
Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
To trigger (as long as the /compile flag is 1 or higher):
From looking at the compiler source it looks like this is just a "not implemented yet" case rather than a fundamental limitation, but I'd love to hear confirmation of this.
In my case the state needs to be reified at runtime so I can't make it a ghost var. Is there a better workaround than using an array instead?
The text was updated successfully, but these errors were encountered: