https://issues.dlang.org/show_bug.cgi?id=21420

          Issue ID: 21420
           Summary: Nullable.get default parameter is not lazy
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nob...@puremagic.com
          Reporter: default_357-l...@yahoo.de

Nullable.get default parameter should obviously be lazy. Every other default
value in
the language is lazy. Unfortunately, Nullable's is not. This leads to
unnecessary evaluations
of values that are never used.

--

Reply via email to