mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix showing error when not meant to
This commit is contained in:
+3
-1
@@ -6168,7 +6168,9 @@ gb_internal CallArgumentError check_call_arguments_internal(CheckerContext *c, A
|
|||||||
Type *t = elem;
|
Type *t = elem;
|
||||||
|
|
||||||
if (is_type_polymorphic(t)) {
|
if (is_type_polymorphic(t)) {
|
||||||
error(call, "Ambiguous call to a polymorphic variadic procedure with no variadic input %s", type_to_string(final_proc_type));
|
if (show_error) {
|
||||||
|
error(call, "Ambiguous call to a polymorphic variadic procedure with no variadic input %s", type_to_string(final_proc_type));
|
||||||
|
}
|
||||||
err = CallArgumentError_AmbiguousPolymorphicVariadic;
|
err = CallArgumentError_AmbiguousPolymorphicVariadic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user