digitalmars.D.bugs - [Issue 14978] New: Improve incorrect AA declaration error message
- via Digitalmars-d-bugs (24/24) Aug 29 2015 https://issues.dlang.org/show_bug.cgi?id=14978
https://issues.dlang.org/show_bug.cgi?id=14978 Issue ID: 14978 Summary: Improve incorrect AA declaration error message Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: luis luismarques.eu Code: void main() { (const(char)*)[string] aa; } Error messages: test.d(3): Error: (arguments) expected following const(char) test.d(3): Error: expression expected, not ')' test.d(3): Error: found 'aa' when expecting ')' It would be nice if the error messages were clearer (and more precise). --
Aug 29 2015