Thread overview
[Issue 19846] Identity function causes code returning byte[0] to not be executed
May 05, 2019
ag0aep6g
May 22, 2019
Nicholas Wilson
Aug 29, 2020
Walter Bright
[Issue 19846] zero size function parameter such as byte[0] causes code to not be executed
Sep 02, 2020
Walter Bright
Sep 02, 2020
Dlang Bot
Sep 03, 2020
Dlang Bot
May 05, 2019
https://issues.dlang.org/show_bug.cgi?id=19846

ag0aep6g <ag0aep6g@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
                 CC|                            |ag0aep6g@gmail.com

--
May 22, 2019
https://issues.dlang.org/show_bug.cgi?id=19846

Nicholas Wilson <iamthewilsonator@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iamthewilsonator@hotmail.co
                   |                            |m

--- Comment #1 from Nicholas Wilson <iamthewilsonator@hotmail.com> ---
This is DMD specific, LDC behaves fine.

--
August 29, 2020
https://issues.dlang.org/show_bug.cgi?id=19846

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |backend
                 CC|                            |bugzilla@digitalmars.com

--
September 02, 2020
https://issues.dlang.org/show_bug.cgi?id=19846

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Identity function causes    |zero size function
                   |code returning byte[0] to   |parameter such as byte[0]
                   |not be executed             |causes code to not be
                   |                            |executed

--
September 02, 2020
https://issues.dlang.org/show_bug.cgi?id=19846

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@WalterBright created dlang/dmd pull request #11668 "fix Issue 19846 - zero size function parameter such as byte[0] causes…" fixing this issue:

- fix Issue 19846 - zero size function parameter such as byte[0] causes code to not be executed

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

--
September 03, 2020
https://issues.dlang.org/show_bug.cgi?id=19846

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 #11668 "fix Issue 19846 - zero size function parameter such as byte[0] causes…" was merged into master:

- 4d196e962efa62a2dd8788a04e47a41f99ca9de5 by Walter Bright:
  fix Issue 19846 - zero size function parameter such as byte[0] causes code to
not be executed

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

--