Open NeeEoo opened 3 months ago
lime.app.Event
is defined with one parameter as class Event<T>
. It appears that the Haxe compiler wants you to add the parameter.
Whats weird is that it works with other generic classes, but not with lime.app.Event see https://try.haxe.org/#Ae2b484D
and it doesnt work when adding it, since the haxe compiler only checks for identifiers during the import statement
Hmm... the error seems to come from EventMacro
.
https://github.com/openfl/lime/blob/8.1.3/src/lime/_internal/macros/EventMacro.hx#L24
I noticed when i tried importing lime.app.Event as a different name it wouldn't let me.