Source range for pipe value used as unlabelled arg (#6787)

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-05-11 17:43:12 +12:00
committed by GitHub
parent 92f7a62af2
commit f36b69f4f0
3 changed files with 42 additions and 40 deletions

View File

@ -161,7 +161,7 @@ pub struct Args {
pub ctx: ExecutorContext,
/// If this call happens inside a pipe (|>) expression, this holds the LHS of that |>.
/// Otherwise it's None.
pipe_value: Option<Arg>,
pub pipe_value: Option<Arg>,
}
impl Args {