digitalmars.D.bugs - [Issue 12124] New: Never be used static opCall should be reported
- d-bugmail puremagic.com (34/34) Feb 09 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12124
- d-bugmail puremagic.com (10/10) Feb 09 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12124
- d-bugmail puremagic.com (11/11) Feb 16 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12124
- d-bugmail puremagic.com (9/9) Feb 16 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12124
- d-bugmail puremagic.com (9/9) Feb 16 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12124
https://d.puremagic.com/issues/show_bug.cgi?id=12124 Summary: Never be used static opCall should be reported Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic Severity: enhancement Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: k.hara.pg gmail.com From: https://github.com/D-Programming-Language/dmd/pull/3221#issuecomment-34595032 By fixing issue 12070, this code never asserts in runtime. struct S { this(int) {} static S opCall() { assert(0); } } void main() { auto s = S(); } To avoid silent code breaking, compiler should report message that static opCall is never used. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 09 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12124 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull https://github.com/D-Programming-Language/dmd/pull/3240 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 09 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12124 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/98aeddcffd1f6826b2e332af951a32da05bcdfe0 fix Issue 12124 - Never be used static opCall should be reported https://github.com/D-Programming-Language/dmd/commit/be71f00450e8c189ec0db224a2c978de97d41161 Issue 12124 - Never be used static opCall should be reported -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 16 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12124 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 16 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12124 Commit pushed to 2.065 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/79ae211e71cf0937523010e39f7f0981e9550904 Issue 12124 - Never be used static opCall should be reported -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 16 2014