Skip to content

Commit 23fcccf

Browse files
committed
doc: add a TODO note for check_call inlining
1 parent 1a4787f commit 23fcccf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/nu-parser/src/parser.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,6 +1329,9 @@ pub fn parse_internal_call(
13291329
spans_idx += 1;
13301330
}
13311331

1332+
// TODO: Inline `check_call`,
1333+
// move missing positional checking into the while loop above with two pointers.
1334+
// Maybe more `CallKind::Invalid` if errors found during argument parsing.
13321335
let call_kind = check_call(working_set, command_span, &signature, &call);
13331336

13341337
deprecation

0 commit comments

Comments
 (0)