[Issue 7773] New: UCFS syntax on built-in attributes too?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 25 12:20:41 PDT 2012


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

           Summary: UCFS syntax on built-in attributes too?
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2012-03-25 12:21:05 PDT ---
Is UCFS syntax supposed to be supported in this case too?

import std.stdio;
void main() {
    (int.max).writeln(); // OK
    int.max.writeln(); // error
}


DMD 2.059head gives:

test.d(4): no identifier for declarator int
test.d(4): semicolon expected, not '.'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list