Hi, everyone, I found that Hashlink has many errors like this and cannot be converted. Could this be a problem with Hashlink?
I think the OpenFL statement should be normal, but Hashlink reported an exception. Did I miss something?
Uncaught exception: Can't cast openfl.events.Event to openfl.events.MouseEvent
Uncaught exception: Can't cast openfl.events.Event to openfl.events.MouseEvent
Called from openfl.text.TextField.~this_onMouseDown.1(lime/app/Module.hx:0)
Called from openfl.events.EventDispatcher.__dispatchEvent(openfl/events/EventDispatcher.hx:402)
Called from openfl.display.DisplayObject.__dispatchEvent(openfl/display/DisplayObject.hx:1425)
Called from openfl.display.DisplayObject.__dispatchWithCapture(openfl/display/DisplayObject.hx:1486)
Called from openfl.display.DisplayObject.dispatchEvent(openfl/display/DisplayObject.hx:1143)
I think this should be a Hashlink error, but it should be a very normal statement. It is impossible that the == operator will not judge the type, right?