summaryrefslogtreecommitdiff
path: root/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'types.c')
-rw-r--r--types.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/types.c b/types.c
index 150a994..8851693 100644
--- a/types.c
+++ b/types.c
@@ -374,6 +374,7 @@ static Status type_cast_status(Type *from, Type *to) {
case TYPE_FN: return STATUS_WARN;
case TYPE_TUPLE: return STATUS_ERR;
}
+ break;
case BUILTIN_F32:
case BUILTIN_F64:
if (to->kind == TYPE_BUILTIN && to->builtin != BUILTIN_CHAR)