Bug 12481 – Wrong cross-module overload resolution with std.process.pipe and std.functional.pipe

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-03-27T10:02:46Z
Last change time
2024-12-13T18:18:51Z
Assigned to
No Owner
Creator
Vladimir Panteleev
Moved to GitHub: dmd#18804 →

Comments

Comment #0 by dlang-bugzilla — 2014-03-27T10:02:46Z
/////// test.d /////// import std.process; import std.functional; void main() { pipe(); } ////////////////////// The compiler is expected to either choose std.process.pipe, or present an ambiguity error. Currently it chooses std.functional.pipe, with the resulting error: C:\...\std\functional.d(514,25): Error: tuple index 0 exceeds 0 C:\...\std\functional.d(514,42): Error: slice [1..0] is out of range of [0..0] C:\...\std\functional.d(533,22): Error: template instance std.functional .compose!() error instantiating test.d(6,6): instantiated from here: pipe!()
Comment #1 by robert.schadek — 2024-12-13T18:18:51Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18804 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB