digitalmars.D.bugs - [Issue 23466] New: -verrors=context should not show context for
- d-bugmail puremagic.com (42/42) Nov 06 2022 https://issues.dlang.org/show_bug.cgi?id=23466
https://issues.dlang.org/show_bug.cgi?id=23466 Issue ID: 23466 Summary: -verrors=context should not show context for supplemental messages Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: nick geany.org Supplemental messages generally have no need to show the source line context. Below, only the `Error:` lines actually benefit from context: compiler\test\fail_compilation\diag8101.d:57: Error: function `diag8101.f_0(int)` is not callable using argument types `()` f_0(); ^ compiler\test\fail_compilation\diag8101.d:57: too few arguments, expected `1`, got `0` f_0(); ^ compiler\test\fail_compilation\diag8101.d:58: Error: none of the overloads of `f_1` are callable using argument types `()` f_1(); ^ compiler\test\fail_compilation\diag8101.d:33: Candidates are: `diag8101.f_1(int)` void f_1(int); ^ compiler\test\fail_compilation\diag8101.d:34: `diag8101.f_1(int, int)` void f_1(int, int); ^ compiler\test\fail_compilation\diag8101.d:59: Error: none of the overloads of `f_2` are callable using argument types `()` f_2(); ^ PR incoming. --
Nov 06 2022