Thread overview
[Issue 20552] Deprecated Nullable.get warning with Appenders
Oct 09, 2020
Walter Bright
Oct 09, 2020
Mario Kroeplin
Dec 01, 2020
Walter Bright
Jan 21, 2021
RazvanN
Jan 21, 2021
RazvanN
Jan 21, 2021
Dlang Bot
Jan 25, 2021
Dlang Bot
October 09, 2020
https://issues.dlang.org/show_bug.cgi?id=20552

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |industry
                 CC|                            |bugzilla@digitalmars.com

--
October 09, 2020
https://issues.dlang.org/show_bug.cgi?id=20552

Mario Kroeplin <kroeplin.d@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kroeplin.d@googlemail.com

--- Comment #1 from Mario Kroeplin <kroeplin.d@googlemail.com> ---
If you use the "-de" switch, however, the code compiles and no deprecation warnings are shown.

--
December 01, 2020
https://issues.dlang.org/show_bug.cgi?id=20552

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
This PR: https://github.com/dlang/dmd/pull/10677 appears to be related.

--
January 21, 2021
https://issues.dlang.org/show_bug.cgi?id=20552

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305@gmail.com

--- Comment #3 from RazvanN <razvan.nitu1305@gmail.com> ---
Compiling this with git HEAD yields:

/home/razvan/dmd/phobos/std/traits.d(3727): 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.
/home/razvan/dmd/druntime/import/core/internal/traits.d(233):
instantiated from here: `F!(Nullable!string)`
/home/razvan/dmd/phobos/std/meta.d(880):        instantiated from here:
`anySat!(hasElaborateAssign, Nullable!string)`
/home/razvan/dmd/phobos/std/traits.d(3729):        instantiated from here:
`anySatisfy!(hasElaborateAssign, Nullable!string)`
/home/razvan/dmd/druntime/import/core/internal/traits.d(233):        ... (5
instantiations, -v to show) ...
/home/razvan/dmd/phobos/std/array.d(3468):        instantiated from here:
`emplaceRef!(StructWithNullable, StructWithNullable, StructWithNullable)`
test.d(12):        instantiated from here: `put!(StructWithNullable)`

Note that the instantion point (test.d(12)) is present in the output, so this
is a phobos issue, not a dmd one.

Changing component to reflect that.

--
January 21, 2021
https://issues.dlang.org/show_bug.cgi?id=20552

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|dmd                         |phobos

--
January 21, 2021
https://issues.dlang.org/show_bug.cgi?id=20552

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
@RazvanN7 created dlang/phobos pull request #7759 "Fix Issue 20552 - Deprecated Nullable.get warning with Appenders" fixing this issue:

- Fix Issue 20552 - Deprecated Nullable.get warning with Appenders

https://github.com/dlang/phobos/pull/7759

--
January 25, 2021
https://issues.dlang.org/show_bug.cgi?id=20552

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #7759 "Fix Issue 20552 - Deprecated Nullable.get warning with Appenders" was merged into stable:

- 51bdf472dfb659cddb725cea153f0be103313e32 by RazvanN7:
  Fix Issue 20552 - Deprecated Nullable.get warning with Appenders

https://github.com/dlang/phobos/pull/7759

--