[Issue 19060] [REG2.081] Incorrect "Using this as a type is deprecated" error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 4 22:51:37 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19060
Richard Cattermole <alphaglosined at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #2 from Richard Cattermole <alphaglosined at gmail.com> ---
Okay looks like I was wrong.
Removing the class it would be equivalent at the module level to:
---
module self;
bool x;
template Foo() {
alias y = self.x;
}
alias Bar = Foo!();
---
--
More information about the Digitalmars-d-bugs
mailing list