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

Avoid nested chained let expressions across Dafny code #118

Open
alex-chew opened this issue Apr 13, 2023 · 0 comments
Open

Avoid nested chained let expressions across Dafny code #118

alex-chew opened this issue Apr 13, 2023 · 0 comments
Assignees

Comments

@alex-chew
Copy link
Contributor

The Dafny-to-Java compiler compiles nested chained-let expressions into Java code that causes javac to OOM easily: dafny-lang/dafny#3868. Unfortunately it seems that it will not be quick to fix the root cause in the Dafny-to-Java compiler, so to ensure this project's stability we should remove instances of this code pattern.

#117 removes all instances from the DynamoToStruct module, but we should search for similar hotspots elsewhere in the Dafny code and eliminate them.

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

No branches or pull requests

1 participant