Open kLabz opened 7 months ago
There was a PR merged to address this issue: #6825 But it was reverted because of #6847
That's unfortunate :confused:
Maybe now that null safety is in the compiler we could revive this but only when null safety is Strict
?
cc @ncannasse
From my understanding one of the main problems with that PR was that it introduced target differences.
@kLabz that sounds like a good compromise to me
Array access will return
null
on index not found, yet return type isT
, notNull<T>
:https://try.haxe.org/#1DeFA9FA