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
Actions
Added by nobu (Nobuyoshi Nakada) 8 months ago. Updated 3 months ago.
Applied in changeset git|8baaece6d9a64e8cc51d8d0c9839546e3d039eee.
[ruby/prism] Bug #21831 Fix denominator of rational float literal
Denominators can contain underscores in fraction part as well as other
numeric literals.
backported it to ruby_4_0 at https://github.com/ruby/ruby/pull/15856
Backported into ruby_3_4 with https://github.com/ruby/ruby/pull/16324.