https://issues.dlang.org/show_bug.cgi?id=22914
Issue ID: 22914
Summary: outdated supplemental error "perhaps remove scope"
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
```
@safe:
struct S
{
int val;
int* ptr;
int* retScope() return scope
{
return &this.val;
}
}
```
The error "perhaps remove `scope` parameter annotation so `return` applies to
`ref`" refers to the old dip1000 design, which has been superseded.
--