This needs to be fixed

user1234 user1234 at 12.de
Sat Aug 24 19:38:26 UTC 2024


On Saturday, 24 August 2024 at 18:31:21 UTC, Stefan Koch wrote:
> On Saturday, 24 August 2024 at 16:36:17 UTC, Manu wrote:
>> alias x = s.tupleof; // this works
>> alias y = s.tupleof[0]; // this is a compile error?!
>>
>> How can embarrassing edge cases like this still exist in the 
>> language today? I'm just reacquainting myself with all the 
>> reasons that I've had such a hard time trying to convince my 
>> colleagues to take D seriously for such a long time.
>>
>> 😫
>
> I am going to fix this if it's not fixed by next week.
> I feel like going back to this.

The feature might be covered in this old PR 
(https://github.com/dlang/dmd/pull/11273/files). However it 
covered a wider scope.


More information about the Digitalmars-d mailing list