Skip to content

Conversation

@dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Dec 18, 2020

Fixes an oddity with automatically generated constructors, where if the class has a base class the generated ctor would not be exported along an export class Something.

  • I've read the contributing guidelines

@dcodeIO
Copy link
Member Author

dcodeIO commented Dec 18, 2020

On a second look this also fixes a bug with field initialization when calling an exported constructor externally where the derived class has additional own fields, due to export logic picking up the member named "constructor", which is the inherited base constructor that does not initialize the additional fields.

@dcodeIO dcodeIO merged commit 4b204db into master Dec 18, 2020
@dcodeIO dcodeIO deleted the unify-ensure-ctor 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.

2 participants