Thread overview
[Issue 21887] Compiler crashes when interfacing with C++ code
May 03, 2021
Daniel
May 03, 2021
Daniel
Dec 17, 2022
Iain Buclaw
May 03, 2021
https://issues.dlang.org/show_bug.cgi?id=21887

Daniel <feco.graczer@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Compiler crashes when       |Compiler crashes when
                   |interfacing C++             |interfacing with C++ code

--
May 03, 2021
https://issues.dlang.org/show_bug.cgi?id=21887

--- Comment #1 from Daniel <feco.graczer@gmail.com> ---
crashes with dmd too

--
May 03, 2021
https://issues.dlang.org/show_bug.cgi?id=21887

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel@disroot.o
                   |                            |rg

--- Comment #2 from moonlightsentinel@disroot.org ---
Possible reduction (but might also be another bug):

=====================================================

alias dgType() = extern(D) int delegate();

extern(C++) int cpp_set_foreach_ind()(dgType!() dg);

int foo(int delegate() dg)
{
    return cpp_set_foreach_ind!()(dg);
}

=====================================================

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P2

--
December 13
https://issues.dlang.org/show_bug.cgi?id=21887

--- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/19917

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--