You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A protected setter on a C# property makes hxcs/net-lib generate invalid C#:
This:
trace(test.Working);
trace(test.Broken);
Becomes:
global::haxe.Log.trace.__hx_invoke2_o(((double) (test.Working) ), global::haxe.lang.Runtime.undefined, default(double), new global::haxe.lang.DynamicObject(new int[]{302979532, 1547539107, 1648581351}, new object[]{"main", "Main", "Main.hx"}, new int[]{1981972957}, new double[]{((double) (7) )}));
global::haxe.Log.trace.__hx_invoke2_o(((double) (test.get_Broken()) ), global::haxe.lang.Runtime.undefined, default(double), new global::haxe.lang.DynamicObject(new int[]{302979532, 1547539107, 1648581351}, new object[]{"main", "Main", "Main.hx"}, new int[]{1981972957}, new double[]{((double) (8) )}));
test.get_Broken() fails to compile with the error:
error CS0571: `Test.Broken.get': cannot explicitly call operator or accessor
The text was updated successfully, but these errors were encountered:
I've done an example and write up here: https://github.com/lpetre/tripping-avenger/tree/master
A protected setter on a C# property makes hxcs/net-lib generate invalid C#:
This:
Becomes:
test.get_Broken() fails to compile with the error:
The text was updated successfully, but these errors were encountered: