Skip to content

Commit 5a4cc45

Browse files
authored
Support start offset and end offset in variable materialization (#289)
1 parent 0a93aad commit 5a4cc45

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

src/parameters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ class RangeParam extends Param {
273273
let modifier = offset[5] != null ? 'p' : '';
274274
value = (offset[1] || offset[4]) + modifier;
275275
}
276-
return value;
276+
return Expression.normalize(value);
277277
}
278278
}
279279

test/spec/automatic/transformation-spec.js

Lines changed: 21 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)