summaryrefslogtreecommitdiff
path: root/parse/type.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse/type.c')
-rw-r--r--parse/type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/type.c b/parse/type.c
index 82b45ba..bba8f29 100644
--- a/parse/type.c
+++ b/parse/type.c
@@ -417,7 +417,7 @@ hasparamsrec(Type *t, Bitset *visited)
return 0;
bsput(visited, t->tid);
switch (t->type) {
- case Typaram:
+ case Typaram: return 1;
case Tygeneric: return 1;
case Tyname:
for (i = 0; i < t->narg; i++)