www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11838] New: Missing emplace import for std.range.zip?

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: bearophile_hugs eml.cc



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: -------
Dec 28 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11838


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid



https://github.com/D-Programming-Language/phobos/pull/1825

This is git-head only regression.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 30 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11838




Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/07e2349cef191d7d110595806572fef6ba16f891
fix Issue 11838 - Missing emplace import for std.range.zip?

https://github.com/D-Programming-Language/phobos/commit/41412d4659935ed86a344d84de4ee303bb542e6d


[REG2.066a] Issue 11838 - Missing emplace import for std.range.zip?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 30 2013
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11838


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 30 2013