[Issue 11482] Add `alias this` support for `null` class instances

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 17 11:32:15 UTC 2018


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
Why would you even do that? Why not make B inherit A and then you have no
problem. Overcomplicating alias this will lead to even more problems when
composed with other language features. Closing this as invalid.

--


More information about the Digitalmars-d-bugs mailing list