small REPL improvements
This commit is contained in:
parent
2ca05eeb16
commit
976d5b18ed
3 changed files with 7 additions and 6 deletions
|
|
@ -91,7 +91,8 @@ proc errorSym*(c: PContext, n: PNode): PSym =
|
|||
result.typ = errorType(c)
|
||||
incl(result.flags, sfDiscardable)
|
||||
# pretend it's imported from some unknown module to prevent cascading errors:
|
||||
c.importTable.addSym(result)
|
||||
if gCmd != cmdInteractive:
|
||||
c.importTable.addSym(result)
|
||||
|
||||
type
|
||||
TOverloadIterMode* = enum
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue