RangeNode exclude_end #996
Closed
FnControlOption
started this conversation in
General
Replies: 2 comments
-
Yes, that would be a good place for flags for sure. You can copy what we recently added to call nodes for safe navigation. |
Beta Was this translation helpful? Give feedback.
0 replies
-
That's fixed now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the only way to tell the difference between an inclusive range
a..b
and an exclusive rangea...b
is to check whetheroperator_loc.end - operator_loc.start
is either two or three. Would it be worthwhile to add anexclude_end
boolean/flag toRangeNode
?Beta Was this translation helpful? Give feedback.
All reactions