November 23 [Issue 24875] std.traits.isAggregateType does not consider enums of aggregate types to be aggregate types | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24875 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> --- @jmdavis created dlang/phobos pull request #9090 "Fix Bugzilla issue 24875" fixing this issue: - Fix Bugzilla issue 24875 This makes it so that enums whose base type is an aggregate type are also considered an aggregate type. It probably doesn't affect much code, since isAggregateType isn't needed often, and it's fairly rare to declare enums whose base type is an aggregate type, but in general, code that cares whether a type is an aggregate type is going to care that an enum's base type is an aggregate type. https://github.com/dlang/phobos/pull/9090 -- |
November 24 [Issue 24875] std.traits.isAggregateType does not consider enums of aggregate types to be aggregate types | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24875 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 #9090 "Fix Bugzilla issue 24875" was merged into master: - 512e10041b5aef2320df523df73052cfcc27b1c9 by Jonathan M Davis: Fix Bugzilla issue 24875 This makes it so that enums whose base type is an aggregate type are also considered an aggregate type. It probably doesn't affect much code, since isAggregateType isn't needed often, and it's fairly rare to declare enums whose base type is an aggregate type, but in general, code that cares whether a type is an aggregate type is going to care that an enum's base type is an aggregate type. https://github.com/dlang/phobos/pull/9090 -- |
Copyright © 1999-2021 by the D Language Foundation