[Issue 16590] New: Wrong di generation for ref methods
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Oct 4 04:17:38 PDT 2016
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: nobody at puremagic.com
Reporter: satoshi at 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();
--
More information about the Digitalmars-d-bugs
mailing list