浏览代码

Semant imported classes early. Resolves #528.

Brucey 5 年之前
父节点
当前提交
ca718afe00
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      iparser.bmx

+ 7 - 0
iparser.bmx

@@ -582,6 +582,13 @@ Type TIParser
 			
 		Forever
 		
+		' semant imported classes
+		For Local cdecl:TClassDecl = EachIn _mod.decls
+			cdecl.Semant()
+			If Not cdecl.args Then
+				cdecl.FinalizeClass()
+			End If
+		Next
 		
 		Return True