← Back to index
|
Original Bugzilla link
Bug 19019 – this(scope this) { ... } no longer compiles
Status
RESOLVED
Resolution
INVALID
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-06-23T22:34:29Z
Last change time
2018-06-23T22:43:03Z
Assigned to
No Owner
Creator
Walter Bright
Comments
Comment #0
by bugzilla — 2018-06-23T22:34:29Z
struct S { this(scope this); } Yields: test.d(3): Deprecation: Using this as a type is deprecated. Use typeof(this) instead