Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Breaking change when switching on Xml.nodeType (3.2.0-rc2) #4084
Previously this code worked (Haxe 3.1.3):
Now you must use this code (Haxe 3.2.0-rc2):
I'm not stressed if this is a breaking change as part of the otherwise great Xml fixes. It would be good to include it in this list though: https://github.com/HaxeFoundation/haxe/wiki/Breaking-changes-in-Haxe-3.2.0
referenced this issue
Nov 19, 2015
It turns out this was actually failing for a good reason, if with the wrong error message. All these static fields on
Long story short I think
You got what you hoped for!
Thanks for the explanation, it makes sense. On a different note, I'm really surprised that those Xml static fields are not inlined / constant. Changing them would cause all kinds of Xml chaos.