Comment #0 by Hexagonalstar64 — 2015-10-05T20:05:19Z
---
ref int delegate() var;
---
Doesn't parse
Comment #1 by b2.temp — 2019-03-21T09:31:53Z
It parses, the error is output during dsymbol semantic.
The ref is not a MemberFunctionAttribute it's a storage class of the type of a VarDeclaration, which is a noop. The ref you want would actually have to placed after the `delegate()`, as a MemberFunctionAttribute, but this is illegal.
Comment #2 by robert.schadek — 2024-12-13T18:45:09Z