mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- In some cases, a type would not get implicitly converted to a typeid #2764.
This commit is contained in:
@@ -12431,6 +12431,7 @@ RETRY:
|
||||
SEMA_ERROR(expr, "Recursive resolution of list.");
|
||||
return expr_poison(expr);
|
||||
case RESOLVE_DONE:
|
||||
if (!sema_cast_rvalue(context, expr, true)) return false;
|
||||
if (to && expr->type != to)
|
||||
{
|
||||
cast_implicit_silent(context, expr, to, false);
|
||||
|
||||
Reference in New Issue
Block a user