PR tweaks

This commit is contained in:
Toby Dimmick
2020-02-07 12:36:33 +00:00
parent 0183952d2e
commit 90ff2be4e8
3 changed files with 18 additions and 21 deletions

View File

@@ -311,7 +311,7 @@ fn fn_def(p: &mut Parser) {
type_params::opt_type_param_list(p);
if p.at(T!['(']) {
params::param_list_fn(p);
params::param_list_fn_def(p);
} else {
p.error("expected function arguments");
}