[Issue 18334] Segfault on FuncExp::matchType while trying to compile invalid .d file

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 5 22:21:50 UTC 2019


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

--- Comment #1 from Basile-z <b2.temp at gmx.com> ---
easier repro:



---
/+ dub.sdl:
   name "dub_script"
   dependency "vibe-d" version="~>0.8.6"
   +/
module dub_script;


import vibe.vibe;
void main()
{
    auto router = URLRouter;
    router.registerWebInterface(new WebService);
}

class WebService
{
    struct C {
    }

    enum d ;

    @d
    a(C a)
    {
    }

    void b()
    {
    }

}
---

still crash using latest stable DMD

--


More information about the Digitalmars-d-bugs mailing list