summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rwxr-xr-xcompiler/ccgtypes.nim9
1 files changed, 5 insertions, 4 deletions
diff --git a/compiler/ccgtypes.nim b/compiler/ccgtypes.nim
index cb4589bca..a1f772379 100755
--- a/compiler/ccgtypes.nim
+++ b/compiler/ccgtypes.nim
@@ -176,10 +176,11 @@ proc fillResult(param: PSym) =
     param.loc.s = OnUnknown
 
 proc getParamTypeDesc(m: BModule, t: PType, check: var TIntSet): PRope =
-  if t.Kind in {tyRef, tyPtr, tyVar}:
-    var b = skipTypes(t.sons[0], abstractInst)
-    if b.kind == tySet and mapSetType(b) == ctArray:
-      return getTypeDescAux(m, b, check)
+  when false:
+    if t.Kind in {tyRef, tyPtr, tyVar}:
+      var b = skipTypes(t.sons[0], abstractInst)
+      if b.kind == tySet and mapSetType(b) == ctArray:
+        return getTypeDescAux(m, b, check)
   result = getTypeDescAux(m, t, check)
 
 proc genProcParams(m: BModule, t: PType, rettype, params: var PRope,