Deprecate when declared(echo):echo (#13840)
This commit is contained in:
parent
9102ac8c7d
commit
afd0afe0a3
4 changed files with 79 additions and 81 deletions
|
|
@ -91,8 +91,7 @@ proc echoCfg*(c: ControlFlowGraph; start=0; last = -1) {.deprecated.} =
|
|||
## echos the ControlFlowGraph for debugging purposes.
|
||||
var buf = ""
|
||||
codeListing(c, buf, start, last)
|
||||
when declared(echo):
|
||||
echo buf
|
||||
echo buf
|
||||
|
||||
proc forkI(c: var Con; n: PNode): TPosition =
|
||||
result = TPosition(c.code.len)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue