From a5c2225b1aa869b2b1cc42fa05da0d16af7c5c1d Mon Sep 17 00:00:00 2001 From: Les De Ridder Date: Sun, 16 Oct 2016 04:54:44 +0200 Subject: [PATCH] Fix infinite tag recursion --- source/filesystem.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/filesystem.d b/source/filesystem.d index 1d22097..36e9469 100644 --- a/source/filesystem.d +++ b/source/filesystem.d @@ -88,9 +88,9 @@ class FileSystem : Operations return _tagCache.byKeyValue() .filter!(a => tags.all!(b => a.value.canFind(b))) - .filter!(a => !tags.canFind(a.value)) .map!(a => a.value) .joiner + .filter!(a => !tags.canFind(a)) .array .sort() .uniq