https://issues.dlang.org/show_bug.cgi?id=3251
RazvanN <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |FIXED --- Comment #1 from RazvanN <[email protected]> --- Currently, when dmd sees a 0 it starts parsing an octal. If it finds any digit > 7 it errors. However, if it finds a point, it immediately switches to parsing a floating point literal, thus accepting from this point digits larger than 7: 07341 => octal 07238 => error 024.8 => foating point literal I think this is fine. --
