mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix of crashing bug with member types. Version bump.
This commit is contained in:
@@ -1088,9 +1088,10 @@ INLINE bool sema_call_expand_arguments(SemaContext *context, CalledDecl *callee,
|
||||
else if (variadic == VARIADIC_ANY)
|
||||
{
|
||||
if (!sema_analyse_expr(context, arg)) return false;
|
||||
if (arg->type == type_untypedlist)
|
||||
if (type_is_invalid_storage_type(arg->type))
|
||||
{
|
||||
SEMA_ERROR(arg, "An untyped list cannot be passed as a variadic argument.");
|
||||
SEMA_ERROR(arg, "A value of type %s cannot be passed as a variadic argument.",
|
||||
type_quoted_error_string(arg->type));
|
||||
return false;
|
||||
}
|
||||
expr_insert_addr(arg);
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define COMPILER_VERSION "0.3.77"
|
||||
#define COMPILER_VERSION "0.3.78"
|
||||
Reference in New Issue
Block a user