-
-
Notifications
You must be signed in to change notification settings - Fork 661
Breaking changes in Haxe 3.3.0
Simon Krajewski edited this page Apr 4, 2016
·
11 revisions
- Constant expression expected: The compiler no longer allows matching on non-inline fields unless they are read-only (
(default, never)
). - Pattern resolution order is now consistent with resolution order for normal typing. This might resolve an unqualified identifier pattern differently. Refer to http://haxe.org/manual/type-system-resolution-order.html for more information on how resolution order works.
-
@:enum abstract
types are now transformed after their build macro has run. Build macros should no longer manually add@:impl
and make the fieldstatic
/inline
.
-
Dynamic
is now checked for when overriding or implementing fields in order to avoid variance violations. -
typedef
types are no longer checked eagerly. This might delay execution of some@:build
or@:genericBuild
macros. Note that type building order is undefined anyway.
- Modifying a Map while iterating is no longer specified.
- ES5 default (https://github.com/HaxeFoundation/haxe/pull/4970)
Learn Haxe: Introduction | Manual | API | Try Haxe | Haxe Library Manager | Code Cookbook
Connect: GitHub | Stack Overflow | Forum | Discord | Gitter | Twitter | Facebook