[Issue 2815] New: Attributes at end of file accepted

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 7 00:04:01 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2815

           Summary: Attributes at end of file accepted
           Product: D
           Version: 1.042
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: accepts-invalid, patch
          Severity: trivial
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: clugdbug at yahoo.com.au


A file consisting only of the line:
---
public static nothrow pure extern
---
compiles without error. This patch (for D2.027) makes it an error.
(It remains OK to end with a colon).


-- 



More information about the Digitalmars-d-bugs mailing list