digitalmars.D.bugs - [Issue 20060] New: new alias syntax reject return types containing
- d-bugmail puremagic.com (21/21) Jul 17 2019 https://issues.dlang.org/show_bug.cgi?id=20060
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: nobody puremagic.com Reporter: b2.temp gmx.com 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.... --- --
Jul 17 2019