www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20328] New: [REG 2.089 beta] deprecation message about

https://issues.dlang.org/show_bug.cgi?id=20328

          Issue ID: 20328
           Summary: [REG 2.089 beta] deprecation message about
                    Nullable.get in isInputRange
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: b2.temp gmx.com

Created attachment 1767
  --> https://issues.dlang.org/attachment.cgi?id=1767&action=edit
zipped folder to run the command in

In the provided folder, run

    $ dub test --force

to see

/usr/include/dmd/phobos/std/range/primitives.d(174,38): Deprecation: function
std.typecons.Nullable!string.Nullable.get_ is deprecated - Implicit conversion
with alias Nullable.get this will be removed after 2.096. Please use .get
explicitly.

deprecations should not happen in the standard library as they may prevent
compilation to complete because of code the user cant fix immediately.

--
Oct 27 2019