[Issue 5014] is(T U == super) returns non-shared parent types for shared(T)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 5 12:37:30 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=5014

Johannes Loher <johannes.loher at fg4f.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johannes.loher at fg4f.de

--- Comment #1 from Johannes Loher <johannes.loher at fg4f.de> ---
Still happening in 2.080.0. The spec states that U should be a TypeSeq of base
classes and interfaces of T.

What is the desired behaviour?

This also happens for other attributes like const, immutable, and inout.

std.traits.BaseTypeTuple has the same behaviour.

--


More information about the Digitalmars-d-bugs mailing list