-
Notifications
You must be signed in to change notification settings - Fork 20
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
Any plan to release Vale with the latest Dafny? #42
Comments
Here is my setup to build the latest Vale: (1) Ubuntu 18.04.3 LTS x64, with Python 3.6.8 Error output: /home/superymk/utils/vale/tools/Vale/src/emit_common_lemmas.fs(531,13): warning FS0058: Possible incorrect indentation: this token is offside of context started at position (530:22). Try indenting this token further or using standard formatting conventions. /home/superymk/utils/vale/tools/Vale/src/emit_common_lemmas.fs(531,13): warning FS0058: Possible incorrect indentation: this token is offside of context started at position (530:22). Try indenting this token further or using standard formatting conventions. /home/superymk/utils/vale/tools/Vale/src/emit_common_lemmas.fs(531,19): warning FS0058: Possible incorrect indentation: this token is offside of context started at position (530:22). Try indenting this token further or using standard formatting conventions. /home/superymk/utils/vale/tools/Vale/src/emit_common_lemmas.fs(532,13): warning FS0058: Possible incorrect indentation: this token is offside of context started at position (530:22). Try indenting this token further or using standard formatting conventions. /home/superymk/utils/vale/tools/Vale/src/emit_common_lemmas.fs(532,13): warning FS0058: Possible incorrect indentation: this token is offside of context started at position (530:22). Try indenting this token further or using standard formatting conventions. /home/superymk/utils/vale/tools/Vale/src/emit_common_lemmas.fs(532,20): warning FS0058: Possible incorrect indentation: this token is offside of context started at position (530:22). Try indenting this token further or using standard formatting conventions. /home/superymk/utils/vale/tools/Vale/src/emit_dafny_direct.fs(83,25): error FS0039: The type 'ObjectType' is not defined /home/superymk/utils/vale/tools/Vale/src/emit_dafny_direct.fs(377,11): error FS0501: The member or object constructor 'LambdaExpr' takes 5 argument(s) but is here given 6. The required signature is 'LambdaExpr(tok: Boogie.IToken, bvars: System.Collections.Generic.List, requires: Expression, reads: System.Collections.Generic.List, body: Expression) : unit'. /home/superymk/utils/vale/tools/Vale/src/emit_dafny_direct.fs(381,38): error FS0033: The type 'Microsoft.Dafny.CasePattern<_>' expects 1 type argument(s) but is given 0 /home/superymk/utils/vale/tools/Vale/src/emit_dafny_direct.fs(384,11): error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. /home/superymk/utils/vale/tools/Vale/src/emit_dafny_direct.fs(450,17): error FS0501: The member or object constructor 'AssertStmt' takes 6 argument(s) but is here given 5. The required signature is 'AssertStmt(tok: Boogie.IToken, endTok: Boogie.IToken, expr: Expression, proof: BlockStmt, label: AssertLabel, attrs: Attributes) : unit'. /home/superymk/utils/vale/tools/Vale/src/emit_dafny_direct.fs(639,7): error FS0001: The type 'MaybeFreeExpression' does not match the type 'Expression'. See also /home/superymk/utils/vale/tools/Vale/src/emit_dafny_direct.fs(639,6)-(639,10). /home/superymk/utils/vale/tools/Vale/src/emit_dafny_direct.fs(639,20): error FS0001: The type 'MaybeFreeExpression' does not match the type 'Expression'. See also /home/superymk/utils/vale/tools/Vale/src/emit_dafny_direct.fs(639,19)-(639,22). /home/superymk/utils/vale/tools/Vale/src/emit_dafny_direct.fs(639,7): error FS0193: Type constraint mismatch. The type /home/superymk/utils/vale/tools/Vale/src/emit_dafny_direct.fs(640,3): error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. /home/superymk/utils/vale/tools/Vale/src/emit_dafny_direct.fs(641,3): error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. |
Latest Dafny changes syntax a little bit. For example, Dafny-v1.9.9 complains "!new" which is needed in Dafny-v2.3 in my project.
I also tried to build Vale with the latest Dafny (v2.3.0), but got compilation errors. I'll post my setup and the errors later. Thanks!
The text was updated successfully, but these errors were encountered: