| Thread overview |
|---|
September 08, 2020 [Issue 21231] Unreachable warning for empty struct in VariantN with preview=fieldwise | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21231 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> --- @MoonlightSentinel created dlang/phobos pull request #7622 "Enable preview=fieldwise & fix blocking bug in VariantN" fixing this issue: - Fix 21231 - Unreachable warning for empty struct in VariantN... ... with preview=fieldwise. Equality checks will never fail for instances of empty structs, hence don't generate code checking `<` and `>` for them. This was exposed by `-preview=fieldwise` which (as a side effect) enables dmd to const-fold the aformentioned equality test in the frontend. https://github.com/dlang/phobos/pull/7622 -- | ||||
September 10, 2020 [Issue 21231] Unreachable warning for empty struct in VariantN with preview=fieldwise | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21231 --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- @nordlow created dlang/phobos pull request #7624 "Fieldwise revived" fixing this issue: - Fix 21231 - Unreachable warning for empty struct in VariantN... ... with preview=fieldwise. Equality checks will never fail for instances of empty structs, hence don't generate code checking `<` and `>` for them. This was exposed by `-preview=fieldwise` which (as a side effect) enables dmd to const-fold the aformentioned equality test in the frontend. https://github.com/dlang/phobos/pull/7624 -- | ||||
October 21, 2020 [Issue 21231] Unreachable warning for empty struct in VariantN with preview=fieldwise | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21231 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/phobos pull request #7624 "Make Phobos compilable with preview=fieldwise" was merged into master: - c7e49f5afd20e874e2e046d6402b40e5698a282e by MoonlightSentinel: Fix 21231 - Unreachable warning for empty struct in VariantN... ... with preview=fieldwise. Equality checks will never fail for instances of empty structs, hence don't generate code checking `<` and `>` for them. This was exposed by `-preview=fieldwise` which (as a side effect) enables dmd to const-fold the aformentioned equality test in the frontend. https://github.com/dlang/phobos/pull/7624 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply