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

           Summary: checking $ in bracket is broken.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: k.hara...@gmail.com


--- Comment #0 from Kenji Hara <k.hara...@gmail.com> 2010-12-21 13:37:42 PST ---
Created an attachment (id=851)
Patch for dmd r810

This is parser bug.
----
struct ellipsis{}
enum __dollar = ellipsis();
struct s{
    static auto opSlice(){}
    static auto opCall(A...)(A args){}
}
void main(){
    //s[];   // if remove comment, it is succeeded to compile.
    s($);
}
----

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

Reply via email to