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
In the following snippet, a function takes a parameter typed T<list<V>>. Psalm throws an error if we pass a valid variable that has just been initialized from a constant list of values. Psalm interprets the list type as a list shape T<list{V}> and considers it incompatible with the expected type T<list<V>>.
In the following snippet, a function takes a parameter typed
T<list<V>>
. Psalm throws an error if we pass a valid variable that has just been initialized from a constant list of values. Psalm interprets the list type as a list shapeT<list{V}>
and considers it incompatible with the expected typeT<list<V>>
.https://psalm.dev/r/86f88fbdda
The text was updated successfully, but these errors were encountered: