Thread overview | ||||||
---|---|---|---|---|---|---|
|
September 09, 2013 [Issue 10998] New: [REG 2.063] compile-time postblit call check is incorrectly suppressed. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10998 Summary: [REG 2.063] compile-time postblit call check is incorrectly suppressed. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic Severity: regression Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: k.hara.pg@gmail.com --- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2013-09-08 23:00:39 PDT --- DMD 2.063 does not print any error message at line 10. // from dmd test suite fail_compilation/fail340.d --- struct CopyTest { double x; this(double a) { x = a * 10.0;} this(this) { x += 2.0; } } const CopyTest z = CopyTest(5.3); const CopyTest w = z; // line 10 static assert(w.x == 55.0); --- Output: dmd2.062: test.d(10): Error: variable test.w of type struct const(CopyTest) uses this(this), which is not allowed in static initialization dmd2.063: (no error message) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 09, 2013 [Issue 10998] [REG 2.063] compile-time postblit call check is incorrectly suppressed. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10998 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-09-08 23:30:28 PDT --- https://github.com/D-Programming-Language/dmd/pull/2541 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 09, 2013 [Issue 10998] [REG 2.063] compile-time postblit call check is incorrectly suppressed. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10998 --- Comment #2 from github-bugzilla@puremagic.com 2013-09-09 14:08:28 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/d647bb0825f55ac1119ab6390f35c44bd574afb6 fix Issue 10998 - compile-time postblit call check is incorrectly suppressed In the pull request #1801, I had forgot to remove the *ungag* code. That was caused the incorrect gagging regression. https://github.com/D-Programming-Language/dmd/commit/86f860b2fb8e216895853bee159f18328e6b7889 Merge pull request #2541 from 9rnsr/fix10980 Issue 10998 (REG 2.063) & Issue Issue 10980 - fix for compile-time postblit call check -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 09, 2013 [Issue 10998] [REG 2.063] compile-time postblit call check is incorrectly suppressed. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10998 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED -- 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