We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0113bc9 commit c495e3fCopy full SHA for c495e3f
crates/parser/src/grammar/expressions.rs
@@ -530,6 +530,9 @@ fn method_call_expr<const FLOAT_RECOVERY: bool>(
530
generic_args::opt_generic_arg_list(p, true);
531
if p.at(T!['(']) {
532
arg_list(p);
533
+ } else {
534
+ // emit an error when argument list is missing
535
+ p.error("expected argument list");
536
}
537
m.complete(p, METHOD_CALL_EXPR)
538
0 commit comments