www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17621] New: Don't use deprecated stuff inside Phobos


          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 puremagic.com
          Reporter: kdevel vogtner.de

$ cat toutf8warning.d
void main ()
   import std.uri;
$ 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

Jul 08 2017