Fix imports

This commit is contained in:
Sebastian Wilzbach 2018-01-18 01:54:33 +01:00
parent c1ebca38ec
commit e4591f5847

View file

@ -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");