D2 code: pure void foo(lazy int x) {} void main() { foo(1); } DMD 2.052 shows an error without line number: Error: cannot have lazy parameters to a pure function
Please mark all missing line number bugs as 'critical' + 'diagnostic'. They are among the most frustrating diagnostic bugs, especially when they happen on a large code base. (They're not really much better than an internal compiler error).
https://github.com/D-Programming-Language/dmd/pull/227
https://github.com/D-Programming-Language/dmd/commit/b6dead3be11cc44265cd4288549fcd114a127768