Allow echo to iterate ranges (#1905)

This commit is contained in:
Jonathan Turner
2020-05-28 06:07:53 +12:00
committed by GitHub
parent e2dabecc0b
commit 98a3d9fff6
3 changed files with 48 additions and 2 deletions

View File

@ -72,7 +72,7 @@ pub(crate) async fn evaluate_baseline_expr(
);
let right = (
right.as_primitive()?.spanned(right_span),
RangeInclusion::Exclusive,
RangeInclusion::Inclusive,
);
Ok(UntaggedValue::range(left, right).into_value(tag))