suggest: got rid of debug code
This commit is contained in:
parent
82514c9c1c
commit
0a4498bd6b
1 changed files with 0 additions and 3 deletions
|
|
@ -145,8 +145,6 @@ proc interestingNode(n: PNode): bool {.inline.} =
|
|||
proc findClosestNode(n: PNode): PNode =
|
||||
if msgs.inCheckpoint(n.info) == cpExact:
|
||||
result = n
|
||||
echo "came here"
|
||||
debug result
|
||||
elif n.kind notin {nkNone..nkNilLit}:
|
||||
for i in 0.. <sonsLen(n):
|
||||
if interestingNode(n.sons[i]):
|
||||
|
|
@ -165,7 +163,6 @@ proc suggestExpr*(c: PContext, node: PNode) =
|
|||
if n == nil: n = node
|
||||
else: cp = msgs.inCheckpoint(n.info)
|
||||
block:
|
||||
debug n
|
||||
case n.kind
|
||||
of nkCall, nkInfix, nkPrefix, nkPostfix, nkCommand,
|
||||
nkCallStrLit, nkMacroStmt:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue