Summary: -property is broken
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-07-10 13:13:45 PDT ---
The following code fails to compile with DMD 2.059 -property:

@property int delegate() foo(){ return ()=>2; }
@property int bar(){ return 2; }
int baz(){ return 2; }

static assert(foo()==2);
static assert(!is(typeof(bar())));
static assert(baz==2);

All static assertions should compile and pass.

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

Reply via email to