summary refs log tree commit diff stats
path: root/compiler/semcall.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/semcall.nim')
-rwxr-xr-xcompiler/semcall.nim8
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/semcall.nim b/compiler/semcall.nim
index cf277728d..f20349c0f 100755
--- a/compiler/semcall.nim
+++ b/compiler/semcall.nim
@@ -119,12 +119,4 @@ proc explicitGenericInstantiation(c: PContext, n: PNode, s: PSym): PNode =
     # candidateCount != 1: return explicitGenericInstError(n)
   else:
     assert false
-  
-  when false:
-    var x: TCandidate
-    initCandidate(x, s, n)
-    var newInst = generateInstance(c, s, x.bindings, n.info)
-    
-    markUsed(n, s)
-    result = newSymNode(newInst, n.info)