www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20265] New: [REG2.088] Spurious deprecation message with

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 puremagic.com
          Reporter: dlang-bugzilla 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.

--
Oct 03 2019