Created
July 27, 2015 09:43
-
-
Save yannick/12e7cdcf88819c61ee94 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source/app.d(19,99): Error: template std.algorithm.searching.endsWith cannot deduce function from argument types !()(DirEntry, string), candidates are: | |
| /usr/local/Cellar/dmd/2.067.1/include/d2/std/algorithm/searching.d(946,6): std.algorithm.searching.endsWith(alias pred = "a == b", Range, Needles...)(Range doesThisEnd, Needles withOneOfThese) if (isBidirectionalRange!Range && Needles.length > 1 && is(typeof(.endsWith!pred(doesThisEnd, withOneOfThese[0])) : bool) && is(typeof(.endsWith!pred(doesThisEnd, withOneOfThese[1..__dollar])) : uint)) | |
| /usr/local/Cellar/dmd/2.067.1/include/d2/std/algorithm/searching.d(1013,6): std.algorithm.searching.endsWith(alias pred = "a == b", R1, R2)(R1 doesThisEnd, R2 withThis) if (isBidirectionalRange!R1 && isBidirectionalRange!R2 && is(typeof(binaryFun!pred(doesThisEnd.back, withThis.back)) : bool)) | |
| /usr/local/Cellar/dmd/2.067.1/include/d2/std/algorithm/searching.d(1041,6): std.algorithm.searching.endsWith(alias pred = "a == b", R, E)(R doesThisEnd, E withThis) if (isBidirectionalRange!R && is(typeof(binaryFun!pred(doesThisEnd.back, withThis)) : bool)) | |
| /usr/local/Cellar/dmd/2.067.1/include/d2/std/algorithm/iteration.d(945,16): instantiated from here: FilterResult!(__lambda3, FilterResult!(__lambda2, DirIterator)) | |
| source/app.d(19,73): instantiated from here: filter!(FilterResult!(__lambda2, DirIterator)) | |
| source/app.d(19,73): Error: template std.algorithm.iteration.filter cannot deduce function from argument types !((de) => de.endsWith("mpac.gz"))(FilterResult!(__lambda2, DirIterator)), candidates are: | |
| /usr/local/Cellar/dmd/2.067.1/include/d2/std/algorithm/iteration.d(941,1): std.algorithm.iteration.filter(alias predicate) if (is(typeof(unaryFun!predicate))) | |
| dmd failed with exit code 1. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment