-
-
Notifications
You must be signed in to change notification settings - Fork 665
Breaking changes in Haxe 3.2.0
-
Xml
has been unified across all targets to have consistent behavior. In particular both the parser and printer now properly deal with entity escaping in attribute values. If you relied on the quirks of the previous parsers you can use them from php/neko/cpp.NativeXml. -
haxe.ds.Vector.get
no longer returnsNull<T>
butT
. This has to be considered when working with non-nullable types on static targets. -
Abstract
@:from
methods no longer have access to the type parameters of the abstract itself. This was a bug in Haxe 3.1.3. -
Recursive abstract
@:arrayAccess
methods now error instead of silently generating an array access expression. -
There was a parser bug which caused
cast (a).b
to be parsed as(cast a).b
instead of the intendedcast ((a).b)
. This has been fixed but might be observed as a regression in rare cases.
- Shift operations (
<<
,>>
) onUInt
are now typed asUInt
instead ofInt
. If the previous semantics are required the result can be type-hinted back toInt
:(a << b : Int)
- Shift operations (
<<
,>>
) onUInt
are now typed asUInt
instead ofInt
. If the previous semantics are required the result can be type-hinted back toInt
:(a << b : Int)
- The status of structure extensions is now
AExtend
instead ofAClosed
.
Learn Haxe: Introduction | Manual | API | Try Haxe | Haxe Library Manager | Code Cookbook
Connect: GitHub | Stack Overflow | Forum | Discord | Gitter | Twitter | Facebook