← Back to index
|
Original Bugzilla link
Bug 2129 – foreach won't work with invariant limits
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2008-05-24T12:11:00Z
Last change time
2015-06-09T05:15:14Z
Assigned to
bugzilla
Creator
andrei
Comments
Comment #0
by andrei — 2008-05-24T12:11:53Z
This won't compile and should: void main(string[] args) { invariant uint x, y; foreach (i; x .. y) {} }
Comment #1
by bugzilla — 2008-06-22T18:57:12Z
Fixed dmd 2.015