Replies: 2 comments
-
|
This is actually the number one reason, why i stopped using parametric classes in Verse. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
There is no fundamental reason for this limitation, but fixing it will take a non-trivial re-engineering of the compiler (the issue has to do with pass ordering). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Can't access a function from a preceding type.A parametric type must be defined before its functions can be accessed.
This is a major pain point when working with generics.
It forces the generic type to sit in a file that's above all other (strange and potentially unstable workaround) or in a parent module.
Beta Was this translation helpful? Give feedback.
All reactions