mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Incorrect handling when reporting fn with optional compile time type #2862
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user