Bug 5745 – Missing error line number with lazy argument

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-03-16T16:45:00Z
Last change time
2011-08-11T22:51:41Z
Keywords
diagnostic, patch
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2011-03-16T16:45:30Z
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
Comment #1 by clugdbug — 2011-03-16T17:13:29Z
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).
Comment #2 by yebblies — 2011-07-11T09:13:40Z
Comment #3 by bugzilla — 2011-08-11T22:51:41Z