[Issue 24726] Make alias work properly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 28 11:34:59 UTC 2024


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

Nick Treleaven <nick at geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at geany.org

--- Comment #2 from Nick Treleaven <nick at geany.org> ---
> all the bugs have been closed now,

They are (mostly) still open.

> along with a message saying "now there's an error message"

Those messages were just for information.

> alias xa = instance.x;

Issue 6842 (which is an enhancement).

> alias m = __traits(getMember, instance, member);

See issue 24720.

> alias a = myStruct.tupleof;
> alias x = a[0];

Issue 24717.

> This is a major chasm right in the middle of D's biggest strength and selling point

The only bug which doesn't match the concepts is issue 24717 (and that's if
people accept my analysis of it). Possibly the docs could be clearer.

Can we close this issue now? Alternatively you could add other bugs to the
'Depends on' field to make this a meta-bug if you think that's better.

--


More information about the Digitalmars-d-bugs mailing list