http://d.puremagic.com/issues/show_bug.cgi?id=10690
Summary: Assertion failure in swap caused by array() of a
filter() of tuples of string
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: regression
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2013-07-21 09:15:11 PDT ---
import std.algorithm: filter;
import std.array: array;
import std.typecons: tuple;
void main() {
[tuple(1)].filter!(t => true).array; // No error
[tuple("A")].filter!(t => true).array; // error
}
DMD 2.064alpha gives me:
[email protected](1923): Assertion failure
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------