Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
May 31, 2013 [Issue 10220] New: `array` doesn't work with disabled default construction | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10220 Summary: `array` doesn't work with disabled default construction Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: regression Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: verylonglogin.reg@gmail.com --- Comment #0 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2013-05-31 22:06:03 MSD --- Bacause of phobos pull 1305 [1] there is now `new E[]` code in `arrayAllocImpl` which fails to compile if `E` disabled default construction. [1] https://github.com/D-Programming-Language/phobos/pull/1305 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 01, 2013 [Issue 10220] `array` doesn't work with disabled default construction | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=10220 --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-06-01 09:58:14 PDT --- Test case: import std.algorithm : equal; import std.range : repeat; import std.array; static struct S { int val; @disable this(); this(int v) { val = v; } } void main() { auto r = S(1).repeat(2).array(); assert(equal(r, [S(1), S(1)])); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 01, 2013 [Issue 10220] `array` doesn't work with disabled default construction | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=10220 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-06-01 10:36:54 PDT --- https://github.com/D-Programming-Language/phobos/pull/1329 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 05, 2013 [Issue 10220] `array` doesn't work with disabled default construction | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=10220 --- Comment #3 from github-bugzilla@puremagic.com 2013-06-04 22:30:11 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/924232603ac6cd0f48d46a8b5e8227ada62808c5 fix Issue 10220 - `array` doesn't work with disabled default construction https://github.com/D-Programming-Language/phobos/commit/7b0a1219fd7ff945ecac360ac1572e93b88f4de1 Merge pull request #1329 from 9rnsr/fix10220 [REG2.064a] Issue 10220 - `array` doesn't work with disabled default construction -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 05, 2013 [Issue 10220] `array` doesn't work with disabled default construction | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=10220 --- Comment #4 from github-bugzilla@puremagic.com 2013-06-05 08:32:46 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/51a5bad3e6fe48d8c9f34d975876eb5cac2486e3 Improve Issue 10220 fix. Improves pull #1329. Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=10220 https://github.com/D-Programming-Language/phobos/commit/ea97f5b6c090bf8434ae9a5d39ea5fca26fb6a8d Merge pull request #1334 from denis-sh/improve-Issue-10220-fix Improve Issue 10220 fix. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 08, 2013 [Issue 10220] `array` doesn't work with disabled default construction | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=10220 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED 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