Browse Source

Semant imported classes early. Resolves #528.

Brucey 5 years ago
parent
commit
ca718afe00
1 changed files with 7 additions and 0 deletions
  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