Closed Frederisk closed 1 year ago
Thanks for the feedback!
I added the typeof limitation to the page. For the first one I do agree that you found a limitation and it deserves to be on this page, but my understanding of Haxe's generic system is pretty poor so I'm not sure how to describe exactly what the limitation is. Without knowing how to exactly describe it I won't add it page just yet.
Generic classes limitation
For generic classes with static methods which used common type parameters, for example:
This will result in what appears to be problematic output:
But Cs2hx does not prompt any errors.
typeof
typeof
is not available in most cases, except for a few methods ofEnum
. The exception message will appear: