Thread overview
[Issue 1547] Default parameter values should use implicit static opCall
Aug 21, 2019
Dlang Bot
Aug 27, 2019
Dlang Bot
Oct 24, 2019
Nick Treleaven
August 21, 2019
https://issues.dlang.org/show_bug.cgi?id=1547

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@RazvanN7 created dlang/dmd pull request #10329 "Fix Issue 1547 - Default parameter values should use implicit static opCall" fixing this issue:

- Fix Issue 1547 - Default parameter values should use implicit static opCall

https://github.com/dlang/dmd/pull/10329

--
August 27, 2019
https://issues.dlang.org/show_bug.cgi?id=1547

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

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

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #10329 "Fix Issue 1547 - Default parameter values should use implicit static opCall" was merged into master:

- 1b552a67a1d205ff2747897d0934c922a869e25e by RazvanN7:
  Fix Issue 1547 - Default parameter values should use implicit static opCall

https://github.com/dlang/dmd/pull/10329

--
October 24, 2019
https://issues.dlang.org/show_bug.cgi?id=1547

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick@geany.org

--- Comment #4 from Nick Treleaven <nick@geany.org> ---
(In reply to Bill Baxter from comment #0)
> void foo(Struct s = null)

Nice that this is now allowed, is it possible to also allow calling foo(null)? Then structs could be a drop-in replacement for pointers, but doing some extra checks on certain operations.

--