Skip to content

Ensure exported field getters and setters are compiled #1683

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

Merged
merged 1 commit into from
Feb 14, 2021
Merged

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Feb 14, 2021

Exports logic made the false assumption that a field that is tagged as COMPILED always has its implicit getters and setters compiled, which is not always the case.

fixes #1675

  • I've read the contributing guidelines

@dcodeIO
Copy link
Member Author

dcodeIO commented Feb 14, 2021

Reproduction here appears to be ordering dependent, somewhere in between star exports, generics and virtual overloads, not sure. The fix is rather trivial and reliable, though, so merging without a test.

@dcodeIO dcodeIO merged commit 6fe4b28 into master Feb 14, 2021
@dcodeIO dcodeIO deleted the issue-1675 branch June 1, 2021 15:20
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.

WASM validation errors when using generic getters?
1 participant