Open githoober opened 3 years ago
I found these snippets:
I got the same error, any news ? :sparkles:
I don't think we can support templates in type aliases. E.g. what should happen if you import such a type with @psalm-import-type tuple from HashSet
?
So the issue here is Psalm not explaining that to you in a meaningful way.
I think I ran into the same error: https://psalm.dev/r/f71fc33269
An explanation/solution would help.
I found these snippets:
@fox91 using class level template for static methods is forbidden
Thanks @orklah, can you link reference please?
Initial comment: https://github.com/vimeo/psalm/issues/2697#issuecomment-578518859 Most recent discussion: https://github.com/vimeo/psalm/issues/6429#issuecomment-913710528
https://psalm.dev/r/52d0b846cc
The error reads: "Docblock-defined class or interface K does not exist".
The provided template tag "@psalm-template K of object" does not seem to be recognized properly.