Jelajahi Sumber

Fixed scope issue.

woollybah 8 tahun lalu
induk
melakukan
d6c31ce91e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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