digitalmars.D.bugs - [Issue 19019] New: this(scope this) { ... } no longer compiles
- d-bugmail puremagic.com (21/21) Jun 23 2018 https://issues.dlang.org/show_bug.cgi?id=19019
https://issues.dlang.org/show_bug.cgi?id=19019 Issue ID: 19019 Summary: this(scope this) { ... } no longer compiles Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: bugzilla digitalmars.com struct S { this(scope this); } Yields: test.d(3): Deprecation: Using this as a type is deprecated. Use typeof(this) instead --
Jun 23 2018