Thread overview
[Issue 24054] return expression expected on noreturn function
Jul 21, 2023
Dlang Bot
Jul 21, 2023
Dennis
Jul 24, 2023
Dlang Bot
July 21, 2023
https://issues.dlang.org/show_bug.cgi?id=24054

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@dkorpel created dlang/dmd pull request #15439 "Fix 24054 - return expression expected on noreturn function" fixing this issue:

- Fix 24054 - return expression expected on noreturn function

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

--
July 21, 2023
https://issues.dlang.org/show_bug.cgi?id=24054

Dennis <dkorpel@live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel@live.nl

--- Comment #2 from Dennis <dkorpel@live.nl> ---
> and should probably suggest removal of the statement

That doesn't result in valid code, it needs to be replaced with something typed `noreturn`.

--
July 24, 2023
https://issues.dlang.org/show_bug.cgi?id=24054

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 #15439 "Fix 24054 - return expression expected on noreturn function" was merged into master:

- 01d613ecec3867ee1e71d3f3e08c60de35a41934 by Dennis Korpel:
  Fix 24054 - return expression expected on noreturn function

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

--