瀏覽代碼

Fixed scope issue.

woollybah 8 年之前
父節點
當前提交
d6c31ce91e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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