[Issue 20060] New: new alias syntax reject return types containing suffixes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 17 08:51:55 UTC 2019
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 at puremagic.com
Reporter: b2.temp at 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....
---
--
More information about the Digitalmars-d-bugs
mailing list