Incorrect handling when reporting fn with optional compile time type #2862

This commit is contained in:
Christoffer Lerno
2026-01-28 18:51:21 +01:00
parent a07660f957
commit d276d3767f
3 changed files with 9 additions and 0 deletions

View File

@@ -3095,6 +3095,8 @@ INLINE const char *type_invalid_storage_type_name(Type *type)
return "a typeinfo";
case TYPE_WILDCARD:
return "an empty value";
case TYPE_OPTIONAL:
return "an optional with a compile time type";
default:
UNREACHABLE;
}