[Issue 18365] New: header file generation doesn't include the return attribute

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 4 13:03:43 UTC 2018


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

          Issue ID: 18365
           Summary: header file generation doesn't include the return
                    attribute
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: greensunny12 at gmail.com

---
struct FullCaseEntry
{
    dchar[3] seq;
    ubyte n, size;// n number in batch, size - size of batch
    ubyte entry_len;

    @property auto value() const @trusted pure nothrow @nogc return
    {
        return seq[0 .. entry_len];
    }
}
---

PR incoming.

--


More information about the Digitalmars-d-bugs mailing list