digitalmars.D.bugs - [Issue 18809] New: Improve error message on nonexistent property
- d-bugmail puremagic.com (28/28) Apr 29 2018 https://issues.dlang.org/show_bug.cgi?id=18809
https://issues.dlang.org/show_bug.cgi?id=18809 Issue ID: 18809 Summary: Improve error message on nonexistent property Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: dlang ryanjframe.com The following code: --- struct SomeStruct {} void main() { auto s = SomeStruct(); s.nonexistent = "hello"; } --- yields the error message: "source\app.d(5,6): Error: no property nonexistent for type SomeStruct" Here, that's not a problem. But if SomeStruct was defined in another module, especially in a large or unfamiliar project, it would be helpful to have the fully qualified name to quickly identify the location of the type's definition: "source\app.d(5,6): Error: no property nonexistent for type app.SomeStruct" --
Apr 29 2018