Repository navigation
Commit 2674c91
[ruby/prism] [Bug #21831] Fix denominator of rational float literal
Denominators can contain underscores in fraction part as well as other
numeric literals.
[Bug #21831]: https://bugs.ruby-lang.org/issues/21831
ruby/prism@e247cb58c71 parent 1db8b86 commit 2674c91
3 files changed
Lines changed: 22 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4264 | 4264 | | |
4265 | 4265 | | |
4266 | 4266 | | |
| 4267 | + | |
| 4268 | + | |
| 4269 | + | |
| 4270 | + | |
4267 | 4271 | | |
4268 | | - | |
4269 | | - | |
| 4272 | + | |
| 4273 | + | |
4270 | 4274 | | |
4271 | 4275 | | |
4272 | 4276 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
| 13 | + | |
11 | 14 | | |
| 15 | + | |
12 | 16 | | |
| 17 | + | |
13 | 18 | | |
| 19 | + | |
14 | 20 | | |
| 21 | + | |
15 | 22 | | |
| 23 | + | |
16 | 24 | | |
| 25 | + | |
17 | 26 | | |
| 27 | + | |
18 | 28 | | |
| 29 | + | |
19 | 30 | | |
20 | 31 | | |
21 | 32 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
676 | 676 | | |
677 | 677 | | |
678 | 678 | | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
679 | 684 | | |
680 | 685 | | |
681 | 686 | | |
| |||
0 commit comments