Thread overview
[Issue 21667] scope parameter causes 'no size because of forward references'
Jun 16, 2021
Mathias LANG
Jun 16, 2021
Mathias LANG
Sep 06, 2021
Paul Backus
Oct 14, 2022
Dlang Bot
Dec 17, 2022
Iain Buclaw
Apr 17, 2023
Dlang Bot
June 16, 2021
https://issues.dlang.org/show_bug.cgi?id=21667

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |apz28@hotmail.com

--- Comment #1 from Mathias LANG <pro.mathias.lang@gmail.com> ---
*** Issue 20814 has been marked as a duplicate of this issue. ***

--
June 16, 2021
https://issues.dlang.org/show_bug.cgi?id=21667

--- Comment #2 from Mathias LANG <pro.mathias.lang@gmail.com> ---
It also triggers if the parameter is `scope ref`, see the duplicated issue.

--
September 06, 2021
https://issues.dlang.org/show_bug.cgi?id=21667

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

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

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

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

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

--
October 14, 2022
https://issues.dlang.org/show_bug.cgi?id=21667

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
@dkorpel created dlang/dmd pull request #14561 "Fix 21667 - scope parameter causes 'no size because of forward refere…" fixing this issue:

- Fix 21667 - scope parameter causes 'no size because of forward references'

https://github.com/dlang/dmd/pull/14561

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=21667

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
April 17, 2023
https://issues.dlang.org/show_bug.cgi?id=21667

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #14561 "Fix 21667 - scope parameter causes 'no size because of forward refere…" was merged into master:

- f627c2f8db04ebd02a101f98867b66141af8b2db by Dennis Korpel:
  Fix 21667 - scope parameter causes 'no size because of forward references'

https://github.com/dlang/dmd/pull/14561

--