There are some changes in the current haxe nightly builds regarding null safety, I am now wondering how I can use compiler conditionals to specify that an annotation should only be applied if the haxe version is 4.3.0 or lower but exclude the current nightly builds.
I tried:
#if (haxe_ver <= 4.300) @:nullSafety(Off) #end
final foo = ...
and:
#if (haxe_ver <= 4.3) @:nullSafety(Off) #end
final foo = ...
But this will also match the current nightly builds.