www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18365] New: header file generation doesn't include the return

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 puremagic.com
          Reporter: greensunny12 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.

--
Feb 04