[phobos] [D-Programming-Language/phobos] 1008da: Issue 8367 - Insufficient constraints for chain
GitHub
noreply at github.com
Tue Jan 8 23:07:25 PST 2013
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/phobos
Commit: 1008da752b135e41e26bc9fedeaffe824046be4e
https://github.com/D-Programming-Language/phobos/commit/1008da752b135e41e26bc9fedeaffe824046be4e
Author: Peter Alexander <peter.alexander.au at gmail.com>
Date: 2013-01-01 (Tue, 01 Jan 2013)
Changed paths:
M std/range.d
Log Message:
-----------
Issue 8367 - Insufficient constraints for chain
The error message from compiling the bug's sample code after this change is:
```
bug.d(11): Error: template std.range.chain does not match any function template declaration. Candidates are:
std/range.d(2018): std.range.chain(Ranges...)(Ranges rs) if (Ranges.length > 0 && allSatisfy!(isInputRange, staticMap!(Unqual, Ranges)) && !is(CommonType!(staticMap!(ElementType, staticMap!(Unqual, Ranges))) == void))
bug.d(11): Error: template std.range.chain(Ranges...)(Ranges rs) if (Ranges.length > 0 && allSatisfy!(isInputRange, staticMap!(Unqual, Ranges)) && !is(CommonType!(staticMap!(ElementType, staticMap!(Unqual, Ranges))) == void)) cannot deduce template function from argument types !()(MapResult!(__lambda2, Foo[]),string)
```
Fixes Issue 8367
http://d.puremagic.com/issues/show_bug.cgi?id=8367
Commit: ca44a116d5cad084fe1cb968f23c54059984a06e
https://github.com/D-Programming-Language/phobos/commit/ca44a116d5cad084fe1cb968f23c54059984a06e
Author: Andrei Alexandrescu <andrei at erdani.com>
Date: 2013-01-08 (Tue, 08 Jan 2013)
Changed paths:
M std/range.d
Log Message:
-----------
Merge pull request #1047 from Poita/bug8367
Issue 8367 - Insufficient constraints for chain
Compare: https://github.com/D-Programming-Language/phobos/compare/4014fe2110e8...ca44a116d5ca
More information about the phobos
mailing list