https://issues.dlang.org/show_bug.cgi?id=16590
Issue ID: 16590 Summary: Wrong di generation for ref methods Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: sato...@rikarin.org Hello, I tried to create a static lib from phobos and druntime then generate header files but I found some problems with it. -H is stripping bodies from ref functions so return type cannot be deduced. same for ref return functions. exmaple from phobos/std/typecons.d @property ref return T refCountedPayload(); --