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: Move Java helper methods out of extern class #1433

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

robin-aws
Copy link
Contributor

Description of changes:

I added these as a migration workaround for upgrading the Dafny version, but as a side effect this can make a class a mixed Dafny/native class when it wasn't intended to be, and this isn't supported on all target languages (e.g. Go). Easy fix to move them out of the class to the surrounding module instead.

Note that in this case InternalLegacyOverride was already a mixed class because of the policy constant, so a further refactoring will be necessary to support this in Go for e.g.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@robin-aws robin-aws requested a review from a team as a code owner October 11, 2024 17:36
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.

1 participant