summaryrefslogtreecommitdiff
path: root/ruby_parser.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@fsij.org>2023-10-13 00:00:58 +0900
committerTanaka Akira <akr@fsij.org>2023-10-13 00:00:58 +0900
commitc23b25f75f6180b7428f9650e063b1e50fc161e2 (patch)
treef4983a22426410499e2e3ef2be4bfe162a6ee098 /ruby_parser.c
parentb2e1ddffa55463f1180af7f9b269a2d89140b131 (diff)
describe the assumption for Range#overlap?.
Range#overlap? assumes that there is no minimum value. This assumption makes +(...-Float::INFINITY).overlap?((...-Float::INFINITY))+ returns true while +(...-Float::INFINITY)+ is empty.
Diffstat (limited to 'ruby_parser.c')
0 files changed, 0 insertions, 0 deletions