Changed statics to inline vars for haxe3 switch changes
Changed statics to inline vars for haxe3 switch changes

Was complaining that it expects a constant value

jasononeil/detox,jasononeil/detox,jasononeil/detox