summary refs log tree commit diff stats
path: root/compiler/semstmts.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-06-12 08:27:02 +0200
committerAraq <rumpf_a@web.de>2019-06-12 08:45:47 +0200
commitc07973e313cb701a076bffb890c0777a555ffa16 (patch)
tree9839d475eb3dacbe940ad59c318b2019b65fd611 /compiler/semstmts.nim
parent549d8cc0c694528d44e012e72924d4c171322fb0 (diff)
downloadNim-c07973e313cb701a076bffb890c0777a555ffa16.tar.gz
[refactoring] liftdestructors is now a module of its own
Diffstat (limited to 'compiler/semstmts.nim')
-rw-r--r--compiler/semstmts.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim
index 525de63e8..5a876a6ea 100644
--- a/compiler/semstmts.nim
+++ b/compiler/semstmts.nim
@@ -493,7 +493,7 @@ proc semVarOrLet(c: PContext, n: PNode, symkind: TSymKind): PNode =
     # this can only happen for errornous var statements:
     if typ == nil: continue
     typeAllowedCheck(c.config, a.info, typ, symkind, if c.matchedConcept != nil: {taConcept} else: {})
-    liftTypeBoundOps(c, typ, a.info)
+    when false: liftTypeBoundOps(c, typ, a.info)
     instAllTypeBoundOp(c, a.info)
     var tup = skipTypes(typ, {tyGenericInst, tyAlias, tySink})
     if a.kind == nkVarTuple: