This needs to be fixed

Timon Gehr timon.gehr at gmx.ch
Sun Aug 25 19:40:48 UTC 2024


On 8/25/24 19:27, Manu wrote:
> There's fault lines and fractures all over the place; this category of 
> issues should be addressed with a laser focus and ruthless murder... and 
> it should have happened 15 years ago.

FWIW with my frontend this just works:

```d
struct S{ int x; }
void foo(alias a)(){ a=2; }
int bar(){
     S s;
     foo!(s.x)();
     return s.x;
}
static assert(bar()==2);
```




More information about the Digitalmars-d mailing list