Skip to content

Correctly place class member preceding instances in the constructor always#1211

Merged
Perryvw merged 1 commit intomasterfrom
fix-extending-class-instance-preceding-statements
Jan 16, 2022
Merged

Correctly place class member preceding instances in the constructor always#1211
Perryvw merged 1 commit intomasterfrom
fix-extending-class-instance-preceding-statements

Conversation

@Perryvw
Copy link
Copy Markdown
Member

@Perryvw Perryvw commented Jan 15, 2022

In case of extended classes without defined constructor, the constructor transformation path is avoided. Unwrapping the preceding statements in transformClassInstanceFields correctly places the preceding statements in all situations.

@Perryvw Perryvw merged commit f23ea3e into master Jan 16, 2022
@Perryvw Perryvw deleted the fix-extending-class-instance-preceding-statements branch January 16, 2022 16:50
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