Skip to content

Conversation

@herndlm
Copy link
Contributor

@herndlm herndlm commented May 22, 2022

This makes sense IMO since traits can be seen as copy/paste helpers, but most-likely I'm missing the reason why they were ignored there in the first place. To not be too annoying maybe with generic traits and multiple private helper methods and so? Mostly I want to find out what CI thinks about this..

This would also be the basis to fix ClassPropertiesNode::getUninitializedProperties by including trait props too, which in term fixes various trait-related readonly / uninitialized property rules.

@herndlm
Copy link
Contributor Author

herndlm commented May 22, 2022

I'm suprised that only one run failed, but I get how annoying this can be. I have a better idea that should give us the best of both worlds. I'll look into that later

@herndlm herndlm closed this May 22, 2022
@herndlm herndlm deleted the do-not-ignore-traits-in-class-statements-gatherer branch May 22, 2022 13:45
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