[Issue 20265] New: [REG2.088] Spurious deprecation message with Nullable!bool and -unittest
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 3 12:10:03 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20265
Issue ID: 20265
Summary: [REG2.088] Spurious deprecation message with
Nullable!bool and -unittest
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: diagnostic
Severity: regression
Priority: P5
Component: phobos
Assignee: nobody at puremagic.com
Reporter: dlang-bugzilla at thecybershadow.net
////// test.d //////
import std.typecons;
Nullable!bool b;
////////////////////
$ dmd -o- -unittest test.d
.../phobos/std/range/primitives.d(174): 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.
--
More information about the Digitalmars-d-bugs
mailing list