Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
December 17, 2022 [Issue 22785] joiner does not support range over immutable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22785 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
March 08, 2023 [Issue 22785] joiner does not support range over immutable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22785 FeepingCreature <default_357-line@yahoo.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |industry --- Comment #1 from FeepingCreature <default_357-line@yahoo.de> --- Ran into it again just now. Bleh. This is also one of the issues that need https://github.com/dlang/phobos/pull/8674 -- |
April 18, 2023 [Issue 22785] joiner does not support range over immutable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22785 --- Comment #2 from FeepingCreature <default_357-line@yahoo.de> --- The example was rubbish. How about this: ``` void main() { import std.algorithm : joiner, map; import std.array : array; static immutable struct S { int[] arr; } auto range = [S([3]), S([4, 5])]; assert(range.map!"a.arr".joiner.array == [3, 4, 5]); } ``` -- |
April 18, 2023 [Issue 22785] joiner does not support range over immutable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22785 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- @FeepingCreature created dlang/phobos pull request #8737 "Fix issue 22785: `joiner` should `Unqual` child ranges." fixing this issue: - Fix issue 22785: `joiner` should `Unqual` child ranges. This allows use with `immutable T[][]` and similar. https://github.com/dlang/phobos/pull/8737 -- |
April 19, 2023 [Issue 22785] joiner does not support range over immutable | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22785 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/phobos pull request #8737 "Fix issue 22785: `joiner` should `Unqual` child ranges." was merged into master: - 04ac328ad03744f36870d81ef06a08863dafd7db by Mathis Beer: Fix issue 22785: `joiner` should `Unqual` child ranges. This allows use with `immutable T[][]` and similar. https://github.com/dlang/phobos/pull/8737 -- |
Copyright © 1999-2021 by the D Language Foundation