You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The IDE complains "Duplicate module name: FileIOParser" if I load a project containing the following two files that use the new Std standard libraries. Reproduce this error using the attached tar file example.tar.gz.
test.dfy
module Test {
import opened Std.Wrappers
function count(i: int): Option<int> {
if i < 0 then None else Some(i+1)
}
}
dfyconfig.toml
[options]
standard-libraries = true
Run code . in the enclosing directory using a recent dafny nightly (nightly-2023-12-10-4faa561) and open the file test.dfy. The extension will resolve and verify the file as expected. Type a space anywhere in the file. The extension will start resolution and report "Resolution Failed" and point to the first like of the dfyconfig.toml file. The error message will be
Files referenced by project are:
test.dfy
DafnyStandardLibraries-notarget.dfy
DafnyStandardLibraries-notarget.dfy
DafnyStandardLibraries.dfyParser
the referenced file DafnyStandardLibraries-notarget.dfy contains error(s) but is not owned by this project. The first error is:
Duplicate module name: FileIOParser
Run "Restart Dafny" and the file will verify successfully as before. Repeat...
The text was updated successfully, but these errors were encountered:
The IDE complains "Duplicate module name: FileIOParser" if I load a project containing the following two files that use the new Std standard libraries. Reproduce this error using the attached tar file example.tar.gz.
test.dfy
dfyconfig.toml
Run
code .
in the enclosing directory using a recent dafny nightly (nightly-2023-12-10-4faa561) and open the file test.dfy. The extension will resolve and verify the file as expected. Type a space anywhere in the file. The extension will start resolution and report "Resolution Failed" and point to the first like of the dfyconfig.toml file. The error message will beRun "Restart Dafny" and the file will verify successfully as before. Repeat...
The text was updated successfully, but these errors were encountered: