Skip to content

Commit

Permalink
Hack to avoid IDE NRE for now
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-aws committed Nov 27, 2023
1 parent 4ef772e commit d45ce36
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Source/DafnyCore/DafnyFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ public static DafnyFile CreateAndValidate(ErrorReporter reporter, IFileSystem fi
dooFile = DooFile.Read(filePath);
}

if (!dooFile.Validate(reporter, filePathForErrors, options, options.CurrentCommand, origin)) {
return null;
}
// TODO: HACK
// if (!dooFile.Validate(reporter, filePathForErrors, options, options.CurrentCommand, origin)) {
// return null;
// }

// For now it's simpler to let the rest of the pipeline parse the
// program text back into the AST representation.
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit d45ce36

Please sign in to comment.