[Issue 20552] Deprecated Nullable.get warning with Appenders
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 21 14:15:04 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=20552
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |razvan.nitu1305 at gmail.com
--- Comment #3 from RazvanN <razvan.nitu1305 at 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.
--
More information about the Digitalmars-d-bugs
mailing list