summaryrefslogtreecommitdiff
path: root/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'types.c')
-rw-r--r--types.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/types.c b/types.c
index e556723..24f31bd 100644
--- a/types.c
+++ b/types.c
@@ -367,7 +367,6 @@ static Status type_cast_status(Type *from, Type *to) {
return STATUS_ERR;
case BUILTIN_BOOL:
return type_can_be_truthy(to);
- case BUILTIN_TYPE_COUNT: assert(0); break;
}
break;
case TYPE_TUPLE: return STATUS_ERR;