Summary: (crash mtype.c) on function with default argument
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2010-11-28 15:38:26 PST ---
This is wrong D2 code:

void foo(Bar* p=null) {}
void main() {

DMD 2.050 crashes on it:

bug.d(1): Error: identifier 'Bar' is not defined
bug.d(1): Error: Bar is used as a type
Assertion failure: 'tn->mod == MODimmutable' on line 880 in file 'mtype.c'

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

Reply via email to