From 23f16cfbf2f987f4024da965f0c481a3cf20e68f Mon Sep 17 00:00:00 2001 From: Martin Nowak Date: Sun, 21 Feb 2016 22:05:36 +0100 Subject: [PATCH] fix for lookup change in 2.071.0 - local symbols are preferred over imported symbols making the mixed in canFind hide std.algorithm.canFind --- source/dyaml/emitter.d | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/dyaml/emitter.d b/source/dyaml/emitter.d index 38e86bf..e3aea51 100644 --- a/source/dyaml/emitter.d +++ b/source/dyaml/emitter.d @@ -67,6 +67,9 @@ align(4) struct ScalarAnalysis ///Quickly determines if a character is a newline. private mixin FastCharSearch!"\n\u0085\u2028\u2029"d newlineSearch_; +// override the canFind added by the FastCharSearch mixins +private alias canFind = std.algorithm.canFind; + //Emits YAML events into a file/stream. struct Emitter {