This needs to be fixed

Timon Gehr timon.gehr at gmx.ch
Mon Sep 2 14:35:56 UTC 2024


On 8/28/24 18:37, Max Samukha wrote:
> On Sunday, 25 August 2024 at 19:40:48 UTC, Timon Gehr wrote:
>>
>> FWIW with my frontend this just works:
>>
> 
> I've always wished there'd be a way for a nested struct to access its 
> parent context. Can your frontend handle something like this:
> 
> ...

Simplified example:

```d
struct S(alias instance){}

struct T{
     S!instance instance;
}
```

My frontend does not support this currently. It shouldn't be too hard to 
add support for this kind of thing though, as the general architecture 
of the code is set up to handle unusual analysis order. I am currently a 
bit too strapped on time to implement it, but will keep it in mind for 
when I possibly continue development on the frontend.


More information about the Digitalmars-d mailing list