Skip to content
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

The two Math.dfy files seem to cause problems #139

Open
CarlKCarlK opened this issue Aug 29, 2023 · 0 comments
Open

The two Math.dfy files seem to cause problems #139

CarlKCarlK opened this issue Aug 29, 2023 · 0 comments

Comments

@CarlKCarlK
Copy link

I notice there are two Math.dfy files. One in src and one in src/dafny

I'm using a new VS code, Dafny add-in install on Windows. When I try to compile
src\Math.dfy (or src\Collections\Sequences\Seq.dfy) I get an error:

Dafny program verifier finished with 1 verified, 0 errors
Errors compiling program into library_example
(3009,40): error CS0234: The type or namespace name 'Abs' does not exist in the namespace 'Math' (are you missing an assembly reference?)

I can work around the error by renaming the module in src/Math.dfy to "Math2" and also changing the import in Seq.dfy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant