[Issue 21667] scope parameter causes 'no size because of forward references'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 6 14:50:02 UTC 2021


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

Paul Backus <snarwin+bugzilla at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |snarwin+bugzilla at gmail.com

--- Comment #3 from Paul Backus <snarwin+bugzilla at gmail.com> ---
Reduced example:

---
struct Foo
{   
    void delegate(scope Foo) dg;
}
---

Also triggers with `scope ref`, as per Mathias's comment.

--


More information about the Digitalmars-d-bugs mailing list