소스 검색

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

Quentin Lambert 1 년 전
부모
커밋
f9df81397c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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,