Skip to content

fix: update this and return type in child class constructor #2574#2635

Merged
dcodeIO merged 3 commits intoAssemblyScript:mainfrom
HerrCai0907:fix/2574
Jan 31, 2023
Merged

fix: update this and return type in child class constructor #2574#2635
dcodeIO merged 3 commits intoAssemblyScript:mainfrom
HerrCai0907:fix/2574

Conversation

@HerrCai0907
Copy link
Copy Markdown
Member

@HerrCai0907 HerrCai0907 commented Jan 28, 2023

When use parent constructor as child default constructor, function signature should update thisType and returnType instead of directly using parent constructor

@HerrCai0907 HerrCai0907 requested a review from dcodeIO January 30, 2023 07:47
@dcodeIO
Copy link
Copy Markdown
Member

dcodeIO commented Jan 31, 2023

Thanks! I guess this fixes #2574?

@HerrCai0907 HerrCai0907 deleted the fix/2574 branch January 31, 2023 04: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.

3 participants