www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7773] New: UCFS syntax on built-in attributes too?

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: bearophile_hugs eml.cc


--- Comment #0 from bearophile_hugs 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: -------
Mar 25 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7773


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2012-03-30 01:55:06 PDT ---
https://github.com/D-Programming-Language/dmd/pull/850

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 30 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7773



--- Comment #2 from github-bugzilla puremagic.com 2012-03-30 22:50:29 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/d7f3352f1fbd25fb4adfb5ef611924bf1ffd4919
Merge pull request #850 from 9rnsr/fix7773

fix Issue 7773 - UCFS syntax on built-in attributes too?

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