summaryrefslogtreecommitdiff
path: root/infer.c
diff options
context:
space:
mode:
Diffstat (limited to 'infer.c')
-rw-r--r--infer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/infer.c b/infer.c
index 1e99fec..d43c31f 100644
--- a/infer.c
+++ b/infer.c
@@ -77,7 +77,7 @@ static bool infer_from_expr(Typer *tr, Expression *match, Expression *to, Expres
/* if match is not the same kind of type as to, returns true */
static bool infer_from_type(Typer *tr, Type *match, Type *to, Identifier *idents, Value *vals, Type *types) {
- assert(to->flags & TYPE_IS_RESOLVED);
+ assert(to->flags & TYPE_IS_RESOLVED);
switch (match->kind) {
case TYPE_VOID: