summaryrefslogtreecommitdiff
path: root/mi/flatten.c
diff options
context:
space:
mode:
Diffstat (limited to 'mi/flatten.c')
-rw-r--r--mi/flatten.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/flatten.c b/mi/flatten.c
index 77216c7..228f21b 100644
--- a/mi/flatten.c
+++ b/mi/flatten.c
@@ -393,7 +393,7 @@ compare(Flattenctx *s, Node *n, int fields)
} else if (fields) {
r = comparecomplex(s, n, exprop(n));
} else {
- fatal(n, "unsupported comparison on values");
+ fatal(n, "unsupported comparison on type %s", tystr(ty));
}
r->expr.type = mktype(n->loc, Tybool);
return r;