Actions
Bug #22114
openEndless ranges without parantheses can have unexpected results
Bug #22114:
Endless ranges without parantheses can have unexpected results
Description
If a line ends with a endless ranges without parantheses, the range will continue on the next line making it the end of the range:
range = 0..
foo = 20
range.end
=> 20
This can be some what unexpected (min would expected to be 100 instead of 20):
min = 100.clamp 0..
max = 20
min
=> 20
Updated by p8 (Petrik de Heus) about 12 hours ago
- Description updated (diff)
Actions