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 typedef auto-generated class constructor funcs #535

Merged
merged 1 commit into from
Mar 9, 2022

Conversation

TwitchBronBron
Copy link
Member

@TwitchBronBron TwitchBronBron commented Mar 9, 2022

Fixes #534.

The issue was that the createClassMethodStatement in creators.ts was incorrectly hardcoding the access type, when it should have been receiving that from the parameters.

This type of bug is another reason why we should be using an options object instead of positional parameters for these...but that's a problem to solve some other time.

@TwitchBronBron TwitchBronBron merged commit 7b22854 into master Mar 9, 2022
@TwitchBronBron TwitchBronBron deleted the fix-typedef branch March 9, 2022 21:54
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.

version 0.45.2 of bsc breaks constructor definitions in d files
1 participant