Ok here's a cursed typing problem: I have a functi...
# haxe
w
Ok here's a cursed typing problem: I have a function that wants
ExprOf<Class<T>>
. Normally I can just pass eg
Foo
to it, which is a normal class, eg
cursedFunc( Foo )
But... I want to pass in a generic However,
cursedFunc( Foo<Bar> );
is a syntax error (Expected expression), but if I just pass
Foo
without type qualifier, I get "Could not determine type for parameter T"