fix for lookup change in 2.071.0

- local symbols are preferred over imported symbols making the mixed in
  canFind hide std.algorithm.canFind
This commit is contained in:
Martin Nowak 2016-02-21 22:05:36 +01:00
parent 4c091cf5bb
commit 23f16cfbf2

View file

@ -67,6 +67,9 @@ align(4) struct ScalarAnalysis
///Quickly determines if a character is a newline. ///Quickly determines if a character is a newline.
private mixin FastCharSearch!"\n\u0085\u2028\u2029"d newlineSearch_; 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. //Emits YAML events into a file/stream.
struct Emitter struct Emitter
{ {