Skip to content

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

@CarlKCarlK

Description

@CarlKCarlK

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions