hxcpp icon indicating copy to clipboard operation
hxcpp copied to clipboard

Static inline field returns null when accessed with reflect

Open dimensionscape opened this issue 4 years ago • 2 comments

Static inline fields return null when accessing them via reflect.

dimensionscape avatar Nov 12 '21 12:11 dimensionscape

You might need @:keep meta-data on the function

hughsando avatar Nov 15 '21 13:11 hughsando

I'm not so sure its due to dce as it works on properly on other targets like neko. It only occurred when using hxcpp.

dimensionscape avatar Nov 15 '21 13:11 dimensionscape