浏览代码

Merge branch 'master' of https://github.com/odin-lang/Odin

gingerBill 1 年之前
父节点
当前提交
7343ed0cac
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/check_expr.cpp

+ 0 - 3
src/check_expr.cpp

@@ -5606,9 +5606,6 @@ gb_internal CallArgumentError check_call_arguments_internal(CheckerContext *c, A
 	for (isize i = 0; i < pt->param_count; i++) {
 	for (isize i = 0; i < pt->param_count; i++) {
 		if (!visited[i]) {
 		if (!visited[i]) {
 			Entity *e = pt->params->Tuple.variables[i];
 			Entity *e = pt->params->Tuple.variables[i];
-			if (is_blank_ident(e->token)) {
-				continue;
-			}
 			if (e->kind == Entity_Variable) {
 			if (e->kind == Entity_Variable) {
 				if (e->Variable.param_value.kind != ParameterValue_Invalid) {
 				if (e->Variable.param_value.kind != ParameterValue_Invalid) {
 					ordered_operands[i].mode = Addressing_Value;
 					ordered_operands[i].mode = Addressing_Value;