[Issue 17621] New: Don't use deprecated stuff inside Phobos (std/uri.d(338): std.utf.toUTF8) or don't warn the users who are not using it.
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Jul 8 08:08:31 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17621
Issue ID: 17621
Summary: Don't use deprecated stuff inside Phobos
(std/uri.d(338): std.utf.toUTF8) or don't warn the
users who are not using it.
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: kdevel at vogtner.de
$ cat toutf8warning.d
void main ()
{
import std.uri;
"".decodeComponent;
}
$ dmd toutf8warning
[redacted]/dmd2/linux/bin64/../../src/phobos/std/uri.d(338): Deprecation:
function std.utf.toUTF8 is deprecated - To be removed November 2017. Please use
std.utf.encode instead.
$ dmd --version
DMD64 D Compiler v2.074.1
Copyright (c) 1999-2017 by Digital Mars written by Walter Bright
--
More information about the Digitalmars-d-bugs
mailing list