Implementing namespaced symbols
h3rald h3rald@h3rald.com
Sat, 25 May 2024 20:05:33 +0000
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
minpkg/core/interpreter.nim
→
minpkg/core/interpreter.nim
@@ -195,7 +195,7 @@ return v
proc apply*(i: In, op: MinOperator, sym = "") {.effectsOf: op.} = if op.kind == minProcOp: - if not op.mdl.scope.isNil: + if not op.mdl.isNil and not op.mdl.scope.isNil: let origScope = i.scope let origMdlParentScope = op.mdl.scope.parent i.scope = op.mdl.scope