Thread overview | |||||
---|---|---|---|---|---|
|
March 29, 2012 [Issue 7795] New: Ddoc emits garbage if a default argument contains a struct constructor call | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=7795 Summary: Ddoc emits garbage if a default argument contains a struct constructor call Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: ddoc Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: smjg@iname.com --- Comment #0 from Stewart Gordon <smjg@iname.com> 2012-03-29 10:41:43 PDT --- Created an attachment (id=1082) Ddoc output for the testcase struct TimeValue { this(int hour, int minute, int second = 0, int ms = 0) {} } /// struct DateTime { /// this(TimeValue t = TimeValue(0, 0)) {} } ---------- signature of DateTime.this in the output: this(TimeValue t = (TimeValue __ctmp3; , __ctmp3).this(0,0,0,0)); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 27, 2012 [Issue 7795] Ddoc emits garbage if a default argument contains a struct constructor call | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | http://d.puremagic.com/issues/show_bug.cgi?id=7795 --- Comment #1 from github-bugzilla@puremagic.com 2012-10-27 11:59:08 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e3f3036de2d01071ffb645652724ef035d1c1254 Fixes Issue 7795 - Original type must be stored before semantic analysis. https://github.com/D-Programming-Language/dmd/commit/f899b4847e10598a7d2db13dc281ed51bd163f7c Merge pull request #1225 from AndrejMitrovic/Fix7795 Fix Issue 7795 - Ddoc emits garbage if a default argument contains a struct constructor call -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 27, 2012 [Issue 7795] Ddoc emits garbage if a default argument contains a struct constructor call | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | http://d.puremagic.com/issues/show_bug.cgi?id=7795 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull Status|NEW |RESOLVED CC| |yebblies@gmail.com Platform|x86 |All Resolution| |FIXED OS/Version|Windows |All --- Comment #2 from yebblies <yebblies@gmail.com> 2012-10-28 06:01:26 EST --- https://github.com/D-Programming-Language/dmd/pull/1225 -- 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