https://issues.dlang.org/show_bug.cgi?id=24707
Issue ID: 24707
Summary: error message has bad attribute order
Product: D
Version: D2
Hardware: All
URL: http://dlang.org/
OS: All
Status: NEW
Severity: minor
Priority: P3
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
I just got this error message:
Candidate is: `f(T)(auto inout ref T a, auto inout ref T b)`
The function is declared as:
auto ref inout(T) f(T)(auto ref inout T a, auto ref inout T b)
`auto ref` is a storage class, `inout T` is a type constructor... `auto inout
ref` is a confused concept that the compiler should never write in an error
message.
Please write (storage_class type_constructor type) in all error messages for
consistency and clarity
--