summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-06-28 01:31:53 +0200
committerAraq <rumpf_a@web.de>2011-06-28 01:31:53 +0200
commit5c94a9e1aea4a25fd9909adf464d9edf3b7ac526 (patch)
treef8b51a7fe867299df37e0a3cc925e2c3c8866747 /compiler
parent3091bc4958a32065b90895c83c6393b9129e0366 (diff)
downloadNim-5c94a9e1aea4a25fd9909adf464d9edf3b7ac526.tar.gz
tests are green again
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,