August 28 [Issue 24726] Make alias work properly | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24726 --- Comment #1 from anonymous4 <dfj1esp02@sneakemail.com> --- Maybe something like this? --- S instance; lazy xa = instance.x; --- -- |
August 28 [Issue 24726] Make alias work properly | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24726 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@geany.org --- Comment #2 from Nick Treleaven <nick@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. -- |
Copyright © 1999-2021 by the D Language Foundation