Thread overview | |||||
---|---|---|---|---|---|
|
November 28, 2010 [Issue 5287] New: (crash mtype.c) on function with default argument | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=5287 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 AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 2010-11-28 15:38:26 PST --- This is wrong D2 code: void foo(Bar* p=null) {} void main() { foo(); } 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 28, 2010 [Issue 5287] (crash mtype.c) on function with default argument | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5287 --- Comment #1 from bearophile_hugs@eml.cc 2010-11-28 15:39:50 PST --- A shorter case: void foo(Bar* p=null) {} void main() {} -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 29, 2010 [Issue 5287] (crash mtype.c) on function with default argument | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5287 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug@yahoo.com.au Resolution| |DUPLICATE --- Comment #2 from Don <clugdbug@yahoo.com.au> 2010-11-29 01:18:53 PST --- *** This issue has been marked as a duplicate of issue 4434 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation