浏览代码

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