https://issues.dlang.org/show_bug.cgi?id=3546
--- Comment #3 from Nick Treleaven <n...@geany.org> --- > alias a = s.i; // OK While this line compiles, even reading `a` triggers the same error: > Error: need `this` for `i` of type `int` --
d-bugmail--- via Digitalmars-d-bugs Sun, 14 Jun 2020 09:58:14 -0700
https://issues.dlang.org/show_bug.cgi?id=3546
--- Comment #3 from Nick Treleaven <n...@geany.org> --- > alias a = s.i; // OK While this line compiles, even reading `a` triggers the same error: > Error: need `this` for `i` of type `int` --