[Issue 20328] New: [REG 2.089 beta] deprecation message about Nullable.get in isInputRange

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 27 12:56:20 UTC 2019


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 at puremagic.com
          Reporter: b2.temp at 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.

--


More information about the Digitalmars-d-bugs mailing list