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

Mathias LANG <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |DUPLICATE

--- Comment #2 from Mathias LANG <[email protected]> ---
```
class C{
    int x=3;
    auto a() => x;
}
static assert(new C().a()==3);
```

This now compiles with `-preview=shortenedMethod`.
Marking as a duplicate of 7176 as a consequence.

*** This issue has been marked as a duplicate of issue 7176 ***

--

Reply via email to