Thread overview
[Issue 20823] [DIP 1000] un-@safe code fails with dip1000
Jul 11, 2021
Dennis
Jul 25, 2022
Dlang Bot
Jul 26, 2022
Dlang Bot
July 11, 2021
https://issues.dlang.org/show_bug.cgi?id=20823

Dennis <dkorpel@live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |Vision
                 CC|                            |dkorpel@live.nl
           Hardware|x86_64                      |All
                 OS|Linux                       |All

--- Comment #1 from Dennis <dkorpel@live.nl> ---
Reduced a bit more:

```
void boo(T)(  scope   void delegate(T[] data) fun) {}
void goo(T)(/+scope+/ void delegate(T[] data) fun) {}

void main() {
    void Execute(int[] data) {}
    goo(&Execute); // Works
    boo(&Execute); // Compiler error with DIP 1000
}
```

--
July 25, 2022
https://issues.dlang.org/show_bug.cgi?id=20823

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@dkorpel created dlang/dmd pull request #14331 "Fix 20823 - un-@safe code fails with dip1000" fixing this issue:

- Fix 20823 - un-@safe code fails with dip1000

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

--
July 26, 2022
https://issues.dlang.org/show_bug.cgi?id=20823

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

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

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #14331 "Fix 20823 - un-@safe code fails with dip1000" was merged into master:

- bc49666578e6c40a73a0974a0a42186a5fbccd6e by Dennis Korpel:
  Fix 20823 - un-@safe code fails with dip1000

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

--