mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
Remove a few uses of fully qualified names that rely on a DMD bug
This commit is contained in:
parent
fa4682442b
commit
276053dd07
6 changed files with 14 additions and 14 deletions
|
@ -965,8 +965,8 @@ if (isInputRange!R &&
|
|||
import std.ascii : isDigit;
|
||||
import std.uni : isWhite;
|
||||
|
||||
assert(countUntil!(std.uni.isWhite)("hello world") == 5);
|
||||
assert(countUntil!(std.ascii.isDigit)("hello world") == -1);
|
||||
assert(countUntil!(isWhite)("hello world") == 5);
|
||||
assert(countUntil!(isDigit)("hello world") == -1);
|
||||
assert(countUntil!"a > 20"([0, 7, 12, 22, 9]) == 3);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue