[Issue 11838] New: Missing emplace import for std.range.zip?
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 28 11:26:56 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11838
Summary: Missing emplace import for std.range.zip?
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: regression
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2013-12-28 11:26:53 PST ---
import std.range: zip;
void main() {
zip([1], [2]);
}
With the latest dmd 2.065alpha I am seeing many errors like:
...\dmd2\src\phobos\std\range.d(4684): Error: undefined identifier emplace, did
you mean template replace(E, R1, R2)(E[] subject, R1 from, R2 to) if
(isDynamicArray!(E[]) && isForwardRange!R1 && isForwardRange!R2 &&
(hasLength!R2 || isSomeString!R2))?
...\dmd2\src\phobos\std\range.d(4684): Error: undefined identifier emplace, did
you mean template replace(E, R1, R2)(E[] subject, R1 from, R2 to) if
(isDynamicArray!(E[]) && isForwardRange!R1 && isForwardRange!R2 &&
(hasLength!R2 || isSomeString!R2))?
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list