Open fourst4r opened 4 months ago
function main() { var p:Null<()->String> = () -> "ok"; trace(p?.bind()()); }
https://try.haxe.org/#070F275b
Looking at the generated js you can see that no null check gets inserted for a ?.bind operation.
Oh so that's what these efk_todo in typer.ml are about...
efk_todo
https://try.haxe.org/#070F275b
Looking at the generated js you can see that no null check gets inserted for a ?.bind operation.