Thread overview
[Issue 23914] "auto ref" resolution on return value prevented by noreturn (bottom type)
[Issue 23914] "auto ref" resolution prevented by bottom type
May 12, 2023
Vladimir Panteleev
May 12, 2023
mhh
May 12, 2023
Vladimir Panteleev
May 12, 2023
Vladimir Panteleev
May 16, 2023
Dlang Bot
May 19, 2023
Dlang Bot
May 12, 2023
https://issues.dlang.org/show_bug.cgi?id=23914

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|"auto ref" determination    |"auto ref" resolution
                   |prevented by bottom type    |prevented by bottom type

--
May 12, 2023
https://issues.dlang.org/show_bug.cgi?id=23914

mhh <maxhaton@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxhaton@gmail.com

--- Comment #1 from mhh <maxhaton@gmail.com> ---
Isn't `auto ref` for template function parameters only?

--
May 12, 2023
https://issues.dlang.org/show_bug.cgi?id=23914

--- Comment #2 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
No.

--
May 12, 2023
https://issues.dlang.org/show_bug.cgi?id=23914

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|"auto ref" resolution       |"auto ref" resolution on
                   |prevented by bottom type    |return value prevented by
                   |                            |noreturn (bottom type)

--
May 16, 2023
https://issues.dlang.org/show_bug.cgi?id=23914

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

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

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@RazvanN7 created dlang/dmd pull request #15240 "Fix Issue 23914 - auto ref resolution on return value prevented by noreturn" fixing this issue:

- Fix Issue 23914 - auto ref resolution on return value prevented by noreturn

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

--
May 19, 2023
https://issues.dlang.org/show_bug.cgi?id=23914

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

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

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #15240 "Fix Issue 23914 - auto ref resolution on return value prevented by noreturn" was merged into master:

- 883de397fb3a1405bdfaaa985abc905049c41fb0 by RazvanN7:
  Fix Issue 23914 - auto ref resolution on return value prevented by noreturn

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

--