[Issue 23114] Can't use noreturn operand in arithmetic expression

2022-07-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23114

--- Comment #5 from Dlang Bot  ---
dlang/dmd pull request #14280 "merge stable" was merged into master:

- dbe0600f853466992fe8f3c3f684f520f6a15883 by mhh:
  Fix Issue 23114 - Make noreturn conversions work

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

--


[Issue 23114] Can't use noreturn operand in arithmetic expression

2022-05-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23114

Dlang Bot  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Dlang Bot  ---
dlang/dmd pull request #14134 "Fix Issue 23114 - Make noreturn conversions
work" was merged into stable:

- 8d9c0a33cecc5ff281659962a723f18a7bfd168f by mhh:
  Fix Issue 23114 - Make noreturn conversions work

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

--


[Issue 23114] Can't use noreturn operand in arithmetic expression

2022-05-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23114

--- Comment #3 from Dlang Bot  ---
@maxhaton updated dlang/dmd pull request #14091 "Fix Issue 23088 - This bug is
a symptom of a bad error message." fixing this issue:

- Fix Issue 23114 - Make noreturn conversions work

  This meant adding the correct implicit conversions to the table in
  impcnvtab.d

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

--


[Issue 23114] Can't use noreturn operand in arithmetic expression

2022-05-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23114

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #2 from Walter Bright  ---
This has nothing in particular to do with throwing expressions. The following
fails for the same reason:

---
noreturn foo();

int test()
{
return 1 + foo();
}
---

--


[Issue 23114] Can't use noreturn operand in arithmetic expression

2022-05-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23114

Dlang Bot  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #1 from Dlang Bot  ---
@maxhaton created dlang/dmd pull request #14134 "Fix Issue 23114 - Make
noreturn conversions work" fixing this issue:

- Fix Issue 23114 - Make noreturn conversions work

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

--