woollybah 8 rokov pred
rodič
commit
d6c31ce91e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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