summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-07-09 23:47:13 -0700
committerOri Bernstein <ori@eigenstate.org>2017-07-09 23:47:13 -0700
commit551d87b88e124e57e95b051539cfddbe8ea62180 (patch)
tree805199314e6d15da774fc7bcd845ffe0b495cc0c
parentc865961b4fbba0243c2f548e4373bb03d223d52f (diff)
downloadmc-551d87b88e124e57e95b051539cfddbe8ea62180.tar.gz
Remove stupid comments.
-rw-r--r--parse/infer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/parse/infer.c b/parse/infer.c
index 212a48a..597b044 100644
--- a/parse/infer.c
+++ b/parse/infer.c
@@ -946,14 +946,13 @@ mergetraits(Node *ctx, Type *a, Type *b)
static int
tyrank(Type *t)
{
- /* plain tyvar */
if (t->type == Tyvar) {
+ /* has associated iterator type */
if (hthas(seqbase, t))
return 1;
else
return 0;
}
- /* concrete type */
return 2;
}