April 18, 2023 [Issue 23844] chain(only) doesn't support immutable structs | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23844 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> --- @FeepingCreature updated dlang/phobos pull request #8736 "Fix issue 23844: Support ranges with immutable fields (like `only` with `immutable struct`) in `chain`." fixing this issue: - Fix issue 23844: Support ranges with immutable fields (like `only` with `immutable struct`) in `chain`. `only` is a range that may be *mutable*, but not *assignable*. `chain` falls over here because it assumes it can make a struct with ranges, and reassign them with new values, which isn't necessarily the case even if the ranges are not `const`. Solved by creating a separate tuple of `Rebindable` ranges for this case. https://github.com/dlang/phobos/pull/8736 -- |
May 10, 2023 [Issue 23844] chain(only) doesn't support immutable structs | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23844 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/phobos pull request #8736 "Fix issue 23844: Support ranges with immutable fields (like `only` with `immutable struct`) in `chain`." was merged into master: - b9c6e3ca4b6fec799964394ad3e080d7b347f658 by Mathis Beer: Fix issue 23844: Support ranges with immutable fields (like `only` with `immutable struct`) in `chain`. `only` is a range that may be *mutable*, but not *assignable*. `chain` falls over here because it assumes it can make a struct with ranges, and reassign them with new values, which isn't necessarily the case even if the ranges are not `const`. Solved by creating a separate tuple of `Rebindable` ranges for this case. https://github.com/dlang/phobos/pull/8736 -- |
Copyright © 1999-2021 by the D Language Foundation