Bug 9958 – "Integer FloatSuffix" is not a valid FloatLiteral

Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-04-18T09:00:07Z
Last change time
2017-10-16T09:57:28Z
Keywords
spec
Assigned to
No Owner
Creator
Vladimir Panteleev

Comments

Comment #0 by dlang-bugzilla — 2013-04-18T09:00:07Z
The spec for floating point literals seems to indicate that the syntax "5f" is not a valid floating point literal, however it is accepted by the compiler.
Comment #1 by github-bugzilla — 2017-08-25T12:33:48Z
Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/43ed259763e6de3d20efa517886a99b9c49ca436 Fix Issue 9958: Integer FloatSuffix is not a valid FloatLiteral https://github.com/dlang/dlang.org/commit/7a583d3adc55e4ff33b5172685c334252a2c6915 Merge pull request #1875 from JinShil/fix_9958 Fix Issue 9958: Integer FloatSuffix is not a valid FloatLiteral merged-on-behalf-of: Petar Kirov <[email protected]>
Comment #2 by github-bugzilla — 2017-10-16T09:57:28Z
Commits pushed to stable at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/43ed259763e6de3d20efa517886a99b9c49ca436 Fix Issue 9958: Integer FloatSuffix is not a valid FloatLiteral https://github.com/dlang/dlang.org/commit/7a583d3adc55e4ff33b5172685c334252a2c6915 Merge pull request #1875 from JinShil/fix_9958