← Back to index
|
Original Bugzilla link
Bug 4411 – ranges + auto functions don't work
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2010-07-01T09:04:00Z
Last change time
2010-08-14T18:49:24Z
Assigned to
nobody
Creator
ellery-newcomer
Depends on
3294
Comments
Comment #0
by ellery-newcomer — 2010-07-01T09:04:01Z
import std.range; import std.array; struct X{ string s; @property front(){ return s.front; } @property void popFront(){ s.popFront; } @property bool empty(){ return s.empty; } } static assert(isInputRange!(X)); fails, though I can't for the life of me figure out why dmd 2.047
Comment #1
by dsimcha — 2010-07-01T09:10:48Z
I'm almost sure this is related to bug 3294. Adding as a dependency.
Comment #2
by dsimcha — 2010-08-14T18:49:24Z
Fixed 2.048, since 3294 got fixed.