Browse Source

Don't rely on deprecated annotation to declare extern fields (#1170)

Quentin Lambert 1 year ago
parent
commit
f9df81397c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      hxd/res/FileTree.hx

+ 2 - 2
hxd/res/FileTree.hx

@@ -279,8 +279,8 @@ class FileTree {
 					ret : field.t,
 					expr : { expr : EMeta({ name : ":privateAccess", params : [], pos : pos }, { expr : EReturn(field.e), pos : pos }), pos : pos },
 				}),
-				meta : [ { name:":extern", pos:pos, params:[] } ],
-				access : [AStatic, AInline, APrivate],
+				meta : [],
+				access : [AExtern, AStatic, AInline, APrivate],
 			};
 			var field : Field = {
 				name : fname,