http://d.puremagic.com/issues/show_bug.cgi?id=8772
Summary: DList.remove doesn't work with result of std.range.take Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: callumena...@gmail.com --- Comment #0 from callumena...@gmail.com 2012-10-06 20:28:16 PDT --- DMD v2.060 import std.range, std.algorithm, std.container; void main() { auto list = DList!int([1,2,3,4,5]); list.remove(list[].find(3).take(1)); } Error: function std.container.DList!(int).DList.remove (Range r) is not callable using argument types (Take!(Range)) However, DList.linearRemove does work with take. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------