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

Passing a DLL path that doesn't exist raises an exception #2719

Closed
robin-aws opened this issue Sep 9, 2022 · 0 comments · Fixed by #3331
Closed

Passing a DLL path that doesn't exist raises an exception #2719

robin-aws opened this issue Sep 9, 2022 · 0 comments · Fixed by #3331
Assignees
Labels
crash Dafny crashes on this input, or generates malformed code that can not be executed kind: bug Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label part: CLI interacting with Dafny on the command line

Comments

@robin-aws
Copy link
Member

robin-aws commented Sep 9, 2022

dafny foobar.dfy gives you a relatively clean Unable to open included file error, but dafny foobar.dll leads to a FileNotFoundException (because it tries to extract the DafnySourceAttribute text if it exists, without handling this case).

method Test() {}
@robin-aws robin-aws added kind: bug Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label crash Dafny crashes on this input, or generates malformed code that can not be executed part: CLI interacting with Dafny on the command line labels Sep 9, 2022
@robin-aws robin-aws self-assigned this Sep 9, 2022
MikaelMayer added a commit that referenced this issue Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash Dafny crashes on this input, or generates malformed code that can not be executed kind: bug Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label part: CLI interacting with Dafny on the command line
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant