diff options
Diffstat (limited to 'compiler/transf.nim')
-rw-r--r-- | compiler/transf.nim | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/transf.nim b/compiler/transf.nim index fc400c524..5cd5e298b 100644 --- a/compiler/transf.nim +++ b/compiler/transf.nim @@ -594,13 +594,6 @@ proc transformFor(c: PTransf, n: PNode): PTransNode = popTransCon(c) # echo "transformed: ", stmtList.PNode.renderTree -proc getMagicOp(call: PNode): TMagic = - if call.sons[0].kind == nkSym and - call.sons[0].sym.kind in {skProc, skMethod, skConverter}: - result = call.sons[0].sym.magic - else: - result = mNone - proc transformCase(c: PTransf, n: PNode): PTransNode = # removes `elif` branches of a case stmt # adds ``else: nil`` if needed for the code generator |