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

fix: Allow more Dafny filenames for compilation to Java #4258

Merged
merged 8 commits into from
Jul 25, 2023

Conversation

RustanLeino
Copy link
Collaborator

Fixes #4104

This PR allows a Dafny filename to begin with a digit, which previously caused malformed Java. It also allows filenames like class.dfy, where class is a keyword a Java, which previously caused malformed Java.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@RustanLeino RustanLeino marked this pull request as ready for review July 6, 2023 17:15
@RustanLeino RustanLeino enabled auto-merge (squash) July 6, 2023 17:48
@RustanLeino RustanLeino merged commit 8f23e97 into dafny-lang:master Jul 25, 2023
18 checks passed
@RustanLeino RustanLeino deleted the issue-4104 branch July 26, 2023 15:57
keyboardDrummer pushed a commit to keyboardDrummer/dafny that referenced this pull request Sep 15, 2023
)

Fixes dafny-lang#4104

This PR allows a Dafny filename to begin with a digit, which previously
caused malformed Java. It also allows filenames like `class.dfy`, where
`class` is a keyword a Java, which previously caused malformed Java.

<small>By submitting this pull request, I confirm that my contribution
is made under the terms of the [MIT
license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
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

Successfully merging this pull request may close these issues.

File name starting with digit breaks Java
4 participants