[Issue 5876] New: std.container doesn't work with delegates
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Apr 23 12:50:41 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5876
Summary: std.container doesn't work with delegates
Product: D
Version: D2
Platform: Other
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: necroment at gmail.com
--- Comment #0 from Max Klyga <necroment at gmail.com> 2011-04-23 12:47:02 PDT ---
This commit made pointsTo not accept delegates as valid arguments, due to Issue
5875.
https://github.com/D-Programming-Language/phobos/commit/0339b6acdeb74ff28cfa2ec30ec5a192709e8695#std/exception.d
This change broke code that used std.container.SList or std.container.Array
with delegates as elements.
-----------------
import std.container;
void main() {
SLIst!(void function()) foo; // works
SList!(void delegate()) bar; // used to work
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list