digitalmars.D.bugs - [Issue 24023] New: Unnecessary module prefix in error message types
- d-bugmail puremagic.com (29/29) Jun 30 2023 https://issues.dlang.org/show_bug.cgi?id=24023
https://issues.dlang.org/show_bug.cgi?id=24023 Issue ID: 24023 Summary: Unnecessary module prefix in error message types Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: nick geany.org The following code (in callconst.d): struct X {} void main() { auto x = const X(); func(x); } void func(ref X); Produces unnecessary module prefixes in the supplementary error line: callconst.d(13): Error: function `callconst.func(ref X)` is not callable using argument types `(const(X))` callconst.d(13): cannot pass argument `x` of type `const(callconst.X)` to parameter `ref callconst.X` This just adds noise and could be removed. PR incoming. --
Jun 30 2023