Closed Aurel300 closed 3 years ago
It's a regression in development branch.
@:multitype
requires type parameters to be known at compile time. That sample should error out.
Here's how it looks with 4.1.4:
Main.hx:2: characters 42-44 : Type parameters of multi type abstracts must be known (for haxe.IMap<Unknown<0>, Int>)
9712 seems to be about abstracts, here the issue is reproduced simply with a generic. It only errors out when
T
is the key type, withMap<Int, T>
it works.