Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
September 06, 2013 [Issue 10981] New: Contracts in pure class methods are useless | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10981 Summary: Contracts in pure class methods are useless Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: henning@still-hidden.de --- Comment #0 from Henning Pohl <henning@still-hidden.de> 2013-09-06 11:29:40 PDT --- This regression was my fault, sorry for that: https://github.com/D-Programming-Language/dmd/pull/2516 I can't believe it passed the test suite: class C { void foo(int i) pure in { assert(i); } body { } } --- main.d(4): Error: pure nested function '__require' cannot access mutable data 'i' --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 06, 2013 [Issue 10981] Contracts in pure class methods are useless | ||||
---|---|---|---|---|
| ||||
Posted in reply to Henning Pohl | http://d.puremagic.com/issues/show_bug.cgi?id=10981 --- Comment #1 from Henning Pohl <henning@still-hidden.de> 2013-09-06 11:31:34 PDT --- Note that this can be fixed by https://github.com/D-Programming-Language/dmd/pull/2155. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 17, 2013 [Issue 10981] Contracts in pure class methods are useless | ||||
---|---|---|---|---|
| ||||
Posted in reply to Henning Pohl | http://d.puremagic.com/issues/show_bug.cgi?id=10981 Henning Pohl <henning@still-hidden.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kekeniro2@yahoo.co.jp --- Comment #2 from Henning Pohl <henning@still-hidden.de> 2013-09-17 04:52:06 PDT --- *** Issue 11055 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 02, 2013 [Issue 10981] Contracts in pure class methods are useless | ||||
---|---|---|---|---|
| ||||
Posted in reply to Henning Pohl | http://d.puremagic.com/issues/show_bug.cgi?id=10981 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, rejects-valid --- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2013-10-02 00:15:01 PDT --- https://github.com/D-Programming-Language/dmd/pull/2615 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 08, 2013 [Issue 10981] Contracts in pure class methods are useless | ||||
---|---|---|---|---|
| ||||
Posted in reply to Henning Pohl | http://d.puremagic.com/issues/show_bug.cgi?id=10981 --- Comment #4 from github-bugzilla@puremagic.com 2013-10-07 18:33:28 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/15aa4468ea76b80d5c2cdb0298a824fa5d508494 fix Issue 10981 - Contracts in pure class methods are useless https://github.com/D-Programming-Language/dmd/commit/5305d38c1e6265b97b6b69d43376a1e39950cb38 Merge pull request #2615 from 9rnsr/fix10981 Issue 10981 - Contracts in pure class methods are useless -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 08, 2013 [Issue 10981] Contracts in pure class methods are useless | ||||
---|---|---|---|---|
| ||||
Posted in reply to Henning Pohl | http://d.puremagic.com/issues/show_bug.cgi?id=10981 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