Summary: Disallow short floating point literals
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: enhancement
          Priority: P2
         Component: DMD

--- Comment #0 from 2011-07-09 05:04:51 PDT ---
This comes from bug 3837 and bug 2656

I suggest to turn floating point literals like the following into syntax
errors, because the saving of one digit is not worth the troubles they cause:

And require something like:

See also the thread:

Daniel Murphy suggests to allow 1.f and 1.L but this a special case.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to