Actions
Bug #21831
closedPrism doesn't count underscores in the fraction part of rational float
Bug #21831:
Prism doesn't count underscores in the fraction part of rational float
Description
Good.
$ ruby3.3 -e 'p 0.1_2r.to_f'
0.12
$ ruby3.4 --parser=parse.y -e 'p 0.1_2r.to_f'
0.12
Wrong.
$ ruby3.4 -e 'p 0.1_2r.to_f'
0.012
Actions