Browse Source

Fixed scope issue.

woollybah 8 năm trước cách đây
mục cha
commit
d6c31ce91e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      decl.bmx

+ 1 - 1
decl.bmx

@@ -2246,7 +2246,7 @@ End Rem
 		Next
 
 		If Not declImported Then
-			inst.scope = _env.scope
+			inst.scope = _env.ModuleScope()
 		End If
 
 		Return inst