[Issue 19060] [REG2.081] Incorrect "Using this as a type is deprecated" error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 5 20:44:25 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=19060

--- Comment #5 from johanengelen at weka.io ---
OK, then this is still broken and should receive a deprecation message too:

```
struct S {
    int a;
    bool x;
    public ref foo() {
        alias yoyo = this.x;
        return yoyo;
    }
}
```

--


More information about the Digitalmars-d-bugs mailing list