You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I can see here, Psalm shouldn't trip up when the trait is implemented, as if we copy/pasted the code (which is what the trait does) it will pass.
Or am I mistaking some part of how the template is passed into the trait?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Interesting case of using TKey in an interface, trait and concrete class:
https://psalm.dev/r/865db8cdb3
From what I can see here, Psalm shouldn't trip up when the trait is implemented, as if we copy/pasted the code (which is what the trait does) it will pass.
Or am I mistaking some part of how the template is passed into the trait?
Beta Was this translation helpful? Give feedback.
All reactions