[Issue 22503] New: dmd 2.098.0: undefined identifier `isValidCharacter`
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 11 14:29:12 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22503
Issue ID: 22503
Summary: dmd 2.098.0: undefined identifier `isValidCharacter`
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: kdevel at vogtner.de
According to
https://dlang.org/changelog/2.098.0.html#add_isValidCharacter
there is a new function in std.utf named isValidCharacter.
$ dmd --version
DMD64 D Compiler v2.098.0
Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
written by Walter Bright
$ cat v.d
import std.utf;
void main ()
{
assert(!isValidCharacter(cast(char) 0x80));
}
$ dmd v
v.d(4): Error: undefined identifier `isValidCharacter`
--
More information about the Digitalmars-d-bugs
mailing list