remove generic base and extern fields after saving class state (prevent removing macros functions from cached classes)
Merge branch 'development' of github.com:HaxeFoundation/haxe into development