Summary: inout not resolved for default parameters
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-01-21 15:17:05 PST ---
DMD 2.057:
inout(Object) bar(inout(Object) y = null){return y;}
static assert(is(typeof(bar())==typeof(bar(null))));

Error: static assert  (is(inout(Object) == Object)) is false

the code should compile.

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

Reply via email to