From e4591f5847ea5bb7bbdc43ae7d955523d1982043 Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Thu, 18 Jan 2018 01:54:33 +0100 Subject: [PATCH] Fix imports --- source/dyaml/parser.d | 1 + 1 file changed, 1 insertion(+) diff --git a/source/dyaml/parser.d b/source/dyaml/parser.d index d5714f4..b570291 100644 --- a/source/dyaml/parser.d +++ b/source/dyaml/parser.d @@ -596,6 +596,7 @@ final class Parser // Any hex digits are 1-byte so this works. char[] hex = oldValue[0 .. hexLength]; oldValue = oldValue[hexLength .. $]; + import std.ascii : isHexDigit; assert(!hex.canFind!(d => !d.isHexDigit), "Scanner must ensure the hex string is valid");