digitalmars.D.bugs - [Issue 12131] New: Struct assign purity error
- d-bugmail puremagic.com (30/30) Feb 10 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12131
- d-bugmail puremagic.com (12/12) Feb 19 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12131
- d-bugmail puremagic.com (11/11) Feb 21 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12131
- d-bugmail puremagic.com (9/9) Feb 23 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12131
https://d.puremagic.com/issues/show_bug.cgi?id=12131 Summary: Struct assign purity error Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc This comes from reduction of code that uses BigInt, I don't understand this problem: import std.internal.math.biguintcore; struct Foo { BigUint a; } void main() pure { BigUint x; x = BigUint(); // OK Foo y; y = Foo(); // Error } DMD 2.065beta3 gives: test.d(7): Error: pure function 'D main' cannot call impure function 'test.Foo.opAssign' -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 10 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12131 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull Platform|x86 |All OS/Version|Windows |All https://github.com/D-Programming-Language/dmd/pull/3301 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 19 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12131 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/83803c4cdfc2f44ec9b0e45943d0486891d90fce fix Issue 12131 - Struct assign purity error https://github.com/D-Programming-Language/dmd/commit/046b22ca767c359e7a28b8c778168921af5b3d63 Issue 12131 - Struct assign purity error -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 21 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12131 bearophile_hugs eml.cc 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 23 2014