Summary: checking $ in bracket is broken.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Kenji Hara <> 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.

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

Reply via email to