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

          Issue ID: 20060
           Summary: new alias syntax reject return types containing
                    suffixes
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

While trying to remove old syntax from phobos, found this:

---
alias int[] F8();   // OK, old syntax
alias F8 = int[](); // NG, Error: function declaration without return type....
---

--

Reply via email to