[Issue 24466] `scope(exit)` should not be allowed in the main scope of `noreturn` functions

2024-03-29 Thread d-bugmail--- via Digitalmars-d-bugs
#1 from elpenguin...@gmail.com --- I don't think it's accurate to do that for all noreturn scopes. Consider: ``` noreturn v(int a) { scope(exit) a++; { scope(exit) a++; } throw new Exception("Exception"); } ``` In this code, both scope guards should be executed. --

[Issue 24466] New: `scope(exit)` should not be allowed in the main scope of `noreturn` functions

2024-03-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24466 Issue ID: 24466 Summary: `scope(exit)` should not be allowed in the main scope of `noreturn` functions Product: D Version: D2 Hardware: All OS: All

[Issue 24349] object noreturn link is missing

2024-01-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24349 --- Comment #5 from Nick Treleaven --- Filed: https://github.com/dlang/ddox/issues/249 --

[Issue 24349] object noreturn link is missing

2024-01-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24349 --- Comment #4 from Nick Treleaven --- > alias noreturn = Nn; Ddoc generates (more) correct declaration: > alias noreturn = noreturn; https://dlang.org/phobos-prerelease/object.html#.noreturn So the problem seems to be with Ddox, perhap

[Issue 24349] object noreturn link is missing

2024-01-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24349 --- Comment #3 from Jim Balter --- I guess I should have been more explicit. It isn't just that the link is missing ... this is also wrong: alias noreturn = Nn; I doubt that the fix for the link fixed this ... is there some way to look

[Issue 24349] object noreturn link is missing

2024-01-22 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #2 from Dlang Bot --- dlang/dmd pull request #16077 "Fix Bugzilla 24349 - object noreturn link is missing" was merged into master: - 4232aeddcc725107bef1793496515e6196aaa623 by Nick Treleaven: Fix Bugzilla 24349 - object noreturn link is missing https://

[Issue 24349] object noreturn link is missing

2024-01-22 Thread d-bugmail--- via Digitalmars-d-bugs
| CC||n...@geany.org Component|dmd |druntime Summary|[Alias noreturn]|object noreturn link is |documentation is bolluxed |missing --

[Issue 24349] [Alias noreturn] documentation is bolluxed

2024-01-22 Thread d-bugmail--- via Digitalmars-d-bugs
created dlang/dmd pull request #16077 "Fix Bugzilla 24349 - object noreturn link is missing" fixing this issue: - Fix Bugzilla 24349 - object noreturn link is missing https://github.com/dlang/dmd/pull/16077 --

[Issue 24349] New: [Alias noreturn] documentation is bolluxed

2024-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24349 Issue ID: 24349 Summary: [Alias noreturn] documentation is bolluxed Product: D Version: D2 Hardware: All URL: http://dlang.org/library/druntime/src/object.html OS

[Issue 23379] Cast of expressions with type noreturn result in ice

2023-10-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23379 Basile-z changed: What|Removed |Added Status|REOPENED|RESOLVED CC|

[Issue 23331] implicit cast from noreturn crashes compiler in various ways

2023-10-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23331 Basile-z changed: What|Removed |Added Status|REOPENED|RESOLVED CC|

[Issue 24167] New: @noreturn compiles because of noreturn

2023-09-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24167 Issue ID: 24167 Summary: @noreturn compiles because of noreturn Product: D Version: D2 Hardware: x86_64 OS: FreeBSD Status: NEW Severity: enhancement

[Issue 24148] noreturn static array initialization causes ICE

2023-09-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24148 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com

[Issue 24148] noreturn static array initialization causes ICE

2023-09-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24148 Max Samukha changed: What|Removed |Added Summary|noreturn static array |noreturn static array

[Issue 24148] New: noreturn static array initialization causes ICE (illegal instruction)

2023-09-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24148 Issue ID: 24148 Summary: noreturn static array initialization causes ICE (illegal instruction) Product: D Version: D2 Hardware: x86_64 OS: All Status

[Issue 24112] binary expressions with noreturn vars produce inconsistent results

2023-09-07 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24112 --- Comment #6 from Dlang Bot --- dlang/dmd pull request #15584 "Revert "Fix Issue 24112 - binary expressions with noreturn vars produ…" was merged into master: - a90c6d25063b2f5a4e17c165acc63a2800ac68ac by Basile Burg: Revert &

[Issue 24112] binary expressions with noreturn vars produce inconsistent results

2023-09-07 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24112 Basile-z changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Issue 24112] binary expressions with noreturn vars produce inconsistent results

2023-09-07 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #4 from Dlang Bot --- dlang/dmd pull request #15564 "Fix Issue 24112 - binary expressions with noreturn vars produce incon…" was merged into master: - c5f9ca5bd2952b8f0667ab94133477e83596cdb9 by Nick Treleaven: Fix Issue 24112 - binary expressions with nor

[Issue 24117] noreturn can be used as expression

2023-08-31 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #6 from Dlang Bot --- dlang/dmd pull request #15562 "Fix Issue 24117 - noreturn can be used as expression" was merged into master: - 46f1225eaeaf4332f5769ce5b1e3853d88ede527 by Nick Treleaven: Fix Issue 24117 - noreturn can be used as expression https://

[Issue 24112] binary expressions with noreturn vars produce inconsistent results

2023-08-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24112 --- Comment #3 from elpenguin...@gmail.com --- it's true that noreturn isn't an integral type, but it can implicitly convert to integral types. other instances of implicit conversion are allowed (structs with integer alias this, for example), so I

[Issue 24112] binary expressions with noreturn vars produce inconsistent results

2023-08-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24112 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org --- Comment #2 from Nick

[Issue 24112] binary expressions with noreturn vars produce inconsistent results

2023-08-30 Thread d-bugmail--- via Digitalmars-d-bugs
created dlang/dmd pull request #15564 "Fix Issue 24112 - binary expressions with noreturn vars produce incon…" fixing this issue: - Fix Issue 24112 - binary expressions with noreturn vars produce inconsistent results https://github.com/dlang/dmd/pull/15564 --

[Issue 24114] no crash on use of a noreturn enum member

2023-08-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24114 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org --- Comment #1 from Nick

[Issue 24117] noreturn can be used as expression

2023-08-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24117 --- Comment #5 from Nick Treleaven --- > enum E {e0 = 0, e1 = 1, illegal = noreturn} > foreach (const i; 0 .. noreturn){} I made a new fix that is more precise which does reject the 2 above and should cover all cases. --

[Issue 24117] noreturn can be used as expression

2023-08-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24117 --- Comment #4 from Dlang Bot --- @ntrel created dlang/dmd pull request #15562 "Fix Issue 24117 - noreturn can be used as expression" fixing this issue: - Fix Issue 24117 - noreturn can be used as expression https://github.com/dlang/dmd/pull/15562 --

[Issue 24117] noreturn can be used as expression

2023-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24117 --- Comment #3 from Basile-z --- Example 2 was about the member initializer Also if it's set to 0, then this becomes a problem because it's not expected to have two members of the same value, e.g ```d enum E {e0 = 0, e1 = 1, illegal = noreturn

[Issue 24117] noreturn can be used as expression

2023-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
created dlang/dmd pull request #15561 "Fix Issue 24117 - noreturn can be used as expression" fixing this issue: - Fix Issue 24117 - noreturn can be used as expression https://github.com/dlang/dmd/pull/15561 --

[Issue 24117] noreturn can be used as expression

2023-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
Treleaven --- This code: auto e = noreturn + 1; Gets lowered to: int e = 1; Also, `cast(int) E.illegal` is 0. --

[Issue 24115] No runtime crash on use of a noreturn template argument

2023-08-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24115 Basile-z changed: What|Removed |Added Resolution|FIXED |INVALID --

[Issue 24115] No runtime crash on use of a noreturn template argument

2023-08-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24115 Basile-z changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 24117] New: noreturn can be used as expression

2023-08-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24117 Issue ID: 24117 Summary: noreturn can be used as expression Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: accepts-invalid

[Issue 24114] no crash on use of a noreturn enum member

2023-08-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24114 Basile-z changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 24116] noreturn not accepted as argument of a template value parameter

2023-08-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24116 Basile-z changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 24116] noreturn not accepted as argument of a template value parameter

2023-08-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24116 Basile-z changed: What|Removed |Added Summary|no return not accepted as |noreturn not accepted

[Issue 24114] no crash on use of a noreturn enum member

2023-08-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24114 Basile-z changed: What|Removed |Added See Also||https://issues.dlang.org/sh |

[Issue 24115] No runtime crash on use of a noreturn template argument

2023-08-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24115 Basile-z changed: What|Removed |Added See Also||https://issues.dlang.org/sh |

[Issue 24115] New: No runtime crash on use of a noreturn template argument

2023-08-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24115 Issue ID: 24115 Summary: No runtime crash on use of a noreturn template argument Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 24114] New: no crash on use of a noreturn enum member

2023-08-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24114 Issue ID: 24114 Summary: no crash on use of a noreturn enum member Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: wrong-code

[Issue 24112] New: binary expressions with noreturn vars produce inconsistent results

2023-08-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24112 Issue ID: 24112 Summary: binary expressions with noreturn vars produce inconsistent results Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 24054] return expression expected on noreturn function

2023-07-24 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #3 from Dlang Bot --- 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 funct

[Issue 24054] return expression expected on noreturn function

2023-07-21 Thread d-bugmail--- via Digitalmars-d-bugs
--- > and should probably suggest removal of the statement That doesn't result in valid code, it needs to be replaced with something typed `noreturn`. --

[Issue 24054] return expression expected on noreturn function

2023-07-21 Thread d-bugmail--- via Digitalmars-d-bugs
--- @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 --

[Issue 24054] New: return expression expected on noreturn function

2023-07-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24054 Issue ID: 24054 Summary: return expression expected on noreturn function Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: diagnostic

[Issue 23950] Weird backend fail with noreturn type - cod1.d(4027): Assertion failure

2023-05-31 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23950 RazvanN changed: What|Removed |Added Keywords||backend, ice CC|

[Issue 23950] Weird backend fail with noreturn type - cod1.d(4027): Assertion failure

2023-05-31 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23950 --- Comment #1 from m...@ernestocastellotti.it --- The absurd thing is that instead this code compiles and works correctly: import core.stdc.stdlib; void main() { auto foo = (false != true) && true || abort(); } This looks just like a bad bug

[Issue 23950] New: Weird backend fail with noreturn type - cod1.d(4027): Assertion failure

2023-05-31 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23950 Issue ID: 23950 Summary: Weird backend fail with noreturn type - cod1.d(4027): Assertion failure Product: D Version: D2 Hardware: x86_64 OS: Linux

[Issue 23930] New: assert(0) passed to function with noreturn parameter causes segfault

2023-05-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23930 Issue ID: 23930 Summary: assert(0) passed to function with noreturn parameter causes segfault Product: D Version: D2 Hardware: All OS: All Status

[Issue 23927] Missing unreachable warning after call to a noreturn function as if-condition

2023-05-19 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |INVALID --- Comment #1 from Basile-z --- "noreturn is the bottom type which can implicitly convert to any type" bool in that case --

[Issue 23929] New: in operator on noreturn associative array causes dmd crash

2023-05-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23929 Issue ID: 23929 Summary: in operator on noreturn associative array causes dmd crash Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 23914] "auto ref" resolution on return value prevented by noreturn (bottom type)

2023-05-19 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #4 from Dlang Bot --- 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 re

[Issue 23927] New: Missing unreachable warning after call to a noreturn function as if-condition

2023-05-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23927 Issue ID: 23927 Summary: Missing unreachable warning after call to a noreturn function as if-condition Product: D Version: D2 Hardware: All OS: All

[Issue 23914] "auto ref" resolution on return value prevented by noreturn (bottom type)

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
--- @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 --

[Issue 23914] "auto ref" resolution on return value prevented by noreturn (bottom type)

2023-05-12 Thread d-bugmail--- via Digitalmars-d-bugs
ref" resolution on |prevented by bottom type|return value prevented by | |noreturn (bottom type) --

[Issue 23871] New: ImportC: __attribute((noreturn)) not recognized

2023-04-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23871 Issue ID: 23871 Summary: ImportC: __attribute((noreturn)) not recognized Product: D Version: D2 Hardware: All OS: Linux Status: NEW Severity: enhancement

[Issue 23331] implicit cast from noreturn crashes compiler in various ways

2022-12-31 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23331 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #14758 "Revert "Fix Issues 23331, 23379 - fix casts involving noreturn"" was merged into master: - b8e9e3f29021c6f22233d489e8284165035fa5f5 by Iain Buclaw: Revert &quo

[Issue 23587] cast(void) doesn't work for noreturn

2022-12-31 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #7 from Dlang Bot --- dlang/dmd pull request #14758 "Revert "Fix Issues 23331, 23379 - fix casts involving noreturn"" was merged into master: - 8bf1c8dab73adb9b990be334cdde1a068cb0a71e by Iain Buclaw: fix Issue 23587 - cast(void) doesn't work

[Issue 23591] [REG 2.101] Invalid casts accepted by the compiler if from type is noreturn

2022-12-31 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #2 from Dlang Bot --- dlang/dmd pull request #14758 "Revert "Fix Issues 23331, 23379 - fix casts involving noreturn"" was merged into master: - 227b3edae230a4084eacc994cf940ec4e612232b by Iain Buclaw: fix Issue 23591 - [REG 2.101] In

[Issue 23379] Cast of expressions with type noreturn result in ice

2022-12-31 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23379 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #14758 "Revert "Fix Issues 23331, 23379 - fix casts involving noreturn"" was merged into master: - b8e9e3f29021c6f22233d489e8284165035fa5f5 by Iain Buclaw: Revert &quo

[Issue 23587] cast(void) doesn't work for noreturn

2022-12-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23587 --- Comment #6 from Iain Buclaw --- (In reply to artha from comment #5) > (In reply to RazvanN from comment #3) > > Why does it matter? The call to fun will never return so casting to void (or > > any other value) it actually a no-op. > > In this

[Issue 23587] cast(void) doesn't work for noreturn

2022-12-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23587 --- Comment #5 from ar...@samerion.com --- (In reply to RazvanN from comment #3) > Why does it matter? The call to fun will never return so casting to void (or > any other value) it actually a no-op. In this case it makes the compiler issue an

[Issue 23591] [REG 2.101] Invalid casts accepted by the compiler if from type is noreturn

2022-12-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23591 Iain Buclaw changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 23587] cast(void) doesn't work for noreturn

2022-12-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23587 Iain Buclaw changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 23587] cast(void) doesn't work for noreturn

2022-12-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23587 --- Comment #4 from Iain Buclaw --- (In reply to RazvanN from comment #3) > Why does it matter? The call to fun will never return so casting to void (or > any other value) it actually a no-op. The devils in the detail of the change, not the example

[Issue 23591] [REG 2.101] Invalid casts accepted by the compiler if from type is noreturn

2022-12-30 Thread d-bugmail--- via Digitalmars-d-bugs
--- @ibuclaw updated dlang/dmd pull request #14758 "Revert "Fix Issues 23331, 23379 - fix casts involving noreturn"" fixing this issue: - fix Issue 23591 - [REG 2.101] Invalid casts accepted by the compiler if from type is noreturn https://github.com/dlang/dmd/pull/14758 --

[Issue 23591] [REG 2.101] Invalid casts accepted by the compiler if from type is noreturn

2022-12-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23591 Iain Buclaw changed: What|Removed |Added Keywords||accepts-invalid CC|

[Issue 23591] New: [REG 2.101] Invalid casts accepted by the compiler if from type is noreturn

2022-12-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23591 Issue ID: 23591 Summary: [REG 2.101] Invalid casts accepted by the compiler if from type is noreturn Product: D Version: D2 Hardware: All OS: All

[Issue 23587] cast(void) doesn't work for noreturn

2022-12-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23587 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #3 from

[Issue 23587] cast(void) doesn't work for noreturn

2022-12-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23587 Iain Buclaw changed: What|Removed |Added Keywords||rejects-valid --

[Issue 23587] cast(void) doesn't work for noreturn

2022-12-29 Thread d-bugmail--- via Digitalmars-d-bugs
--- @ibuclaw updated dlang/dmd pull request #14758 "Revert "Fix Issues 23331, 23379 - fix casts involving noreturn"" fixing this issue: - fix Issue 23587 - cast(void) doesn't work for noreturn https://github.com/dlang/dmd/pull/14758 --

[Issue 23331] implicit cast from noreturn crashes compiler in various ways

2022-12-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23331 --- Comment #2 from Dlang Bot --- @ibuclaw created dlang/dmd pull request #14758 "Revert "Fix Issues 23331, 23379 - fix casts involving noreturn"" mentioning this issue: - Revert "Fix Issues 23331, 23379 - fix

[Issue 23379] Cast of expressions with type noreturn result in ice

2022-12-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23379 --- Comment #2 from Dlang Bot --- @ibuclaw created dlang/dmd pull request #14758 "Revert "Fix Issues 23331, 23379 - fix casts involving noreturn"" mentioning this issue: - Revert "Fix Issues 23331, 23379 - fix

[Issue 23331] implicit cast from noreturn crashes compiler in various ways

2022-12-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23331 Iain Buclaw changed: What|Removed |Added Keywords||backend Status|RESOLVED

[Issue 23379] Cast of expressions with type noreturn result in ice

2022-12-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23379 Iain Buclaw changed: What|Removed |Added Keywords||backend Status|RESOLVED

[Issue 23587] cast(void) doesn't work for noreturn

2022-12-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23587 Iain Buclaw changed: What|Removed |Added CC||ibuc...@gdcproject.org --- Comment #1 from

[Issue 23587] New: cast(void) doesn't work for noreturn

2022-12-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23587 Issue ID: 23587 Summary: cast(void) doesn't work for noreturn Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: regression

[Issue 16222] empty array literal should have type noreturn[]

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16222 --- Comment #3 from Nick Treleaven --- > we need a typeof([]) that implicitly converts to any T[] (unlike void[]). That would be `noreturn[]`: https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1034.md#the-type-of-the-empty-array-literal --

[Issue 21954] stack corruption on if stmt taking a noreturn array elem as condition

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21954 Iain Buclaw changed: What|Removed |Added Priority|P1 |P3 --

[Issue 16222] empty array literal should have type noreturn[]

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16222 Iain Buclaw changed: What|Removed |Added Priority|P1 |P3 --

[Issue 23439] [REG 2.098] Error: CTFE internal error: literal 'assert(false, "Accessed expression of type noreturn")'

2022-11-01 Thread d-bugmail--- via Digitalmars-d-bugs
sert(false, "Accessed expression of type noreturn")' (#14596) https://github.com/dlang/dmd/pull/14609 --

[Issue 23439] [REG 2.098] Error: CTFE internal error: literal 'assert(false, "Accessed expression of type noreturn")'

2022-10-27 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #2 from Dlang Bot --- dlang/dmd pull request #14596 "fix Issue 23439 - [REG 2.098] Error: CTFE internal error: literal 'assert(false, "Accessed expression of type noreturn")'" was merged into stable: - 5a060be19cd4c513693b4d1f8e0deb27b7bacc31 b

[Issue 23439] [REG 2.098] Error: CTFE internal error: literal 'assert(false, "Accessed expression of type noreturn")'

2022-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
--- @ibuclaw created dlang/dmd pull request #14596 "fix Issue 23439 - [REG 2.098] Error: CTFE internal error: literal 'assert(false, "Accessed expression of type noreturn")'" fixing this issue: - fix Issue 23439 - [REG 2.098] Error: CTFE internal error: literal 'assert(false, "Ac

[Issue 23439] New: [REG 2.098] Error: CTFE internal error: literal 'assert(false, "Accessed expression of type noreturn")'

2022-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23439 Issue ID: 23439 Summary: [REG 2.098] Error: CTFE internal error: literal 'assert(false, "Accessed expression of type noreturn")' Product: D V

[Issue 23331] implicit cast from noreturn crashes compiler in various ways

2022-10-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23331 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 23379] Cast of expressions with type noreturn result in ice

2022-10-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23379 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 23331] implicit cast from noreturn crashes compiler in various ways

2022-09-30 Thread d-bugmail--- via Digitalmars-d-bugs
--- @RazvanN7 updated dlang/dmd pull request #14494 "Fix Issues 23331, 23379 - fix casts involving noreturn" fixing this issue: - Fix Issues 23331, 23379 - fix casts involving noreturn https://github.com/dlang/dmd/pull/14494 --

[Issue 23379] Cast of expressions with type noreturn result in ice

2022-09-30 Thread d-bugmail--- via Digitalmars-d-bugs
--- @RazvanN7 updated dlang/dmd pull request #14494 "Fix Issues 23331, 23379 - fix casts involving noreturn" fixing this issue: - Fix Issues 23331, 23379 - fix casts involving noreturn https://github.com/dlang/dmd/pull/14494 --

[Issue 23379] Cast of expressions with type noreturn result in ice

2022-09-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23379 RazvanN changed: What|Removed |Added Severity|enhancement |critical --

[Issue 23379] New: Cast of expressions with type noreturn result in ice

2022-09-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23379 Issue ID: 23379 Summary: Cast of expressions with type noreturn result in ice Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity

[Issue 23331] New: implicit cast from noreturn crashes compiler in various ways

2022-09-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23331 Issue ID: 23331 Summary: implicit cast from noreturn crashes compiler in various ways Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW

[Issue 16222] empty array literal should have type noreturn[]

2022-09-05 Thread d-bugmail--- via Digitalmars-d-bugs
failed to |empty array literal should |infer/coerce types for |have type noreturn[] |instantiation | --

[Issue 21956] ice on foreach over an AA of noreturn

2022-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #6 from Dlang Bot --- dlang/dmd pull request #14274 "Fix Issue 21956 - ice on foreach over an AA of noreturn" was merged into master: - 52bb3f701e18dd393065aa3184f1b8ef4bf5690a by RazvanN7: Fix Issue 21956 - ice on foreach over an AA of noreturn https://

[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 21956] ice on foreach over an AA of noreturn

2022-07-08 Thread d-bugmail--- via Digitalmars-d-bugs
--- @RazvanN7 created dlang/dmd pull request #14274 "Fix Issue 21956 - Issue 21956 - ice on foreach over an AA of noreturn" fixing this issue: - Fix Issue 21956 - Issue 21956 - ice on foreach over an AA of noreturn https://github.com/dlang/dmd/pull/14274 --

[Issue 23206] ImportC: __declspec(noreturn) does not compile

2022-06-25 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #4 from Dlang Bot --- dlang/dmd pull request #14252 "fix Issue 23206 - ImportC: __declspec(noreturn) does not compile" was merged into master: - 9df64451e42743b92cc46cf99b0742eed3382125 by Walter Bright: fix Issue 23206 - ImportC: __declspec(nore

[Issue 23206] ImportC: __declspec(noreturn) does not compile

2022-06-25 Thread d-bugmail--- via Digitalmars-d-bugs
--- @WalterBright created dlang/dmd pull request #14252 "fix Issue 23206 - ImportC: __declspec(noreturn) does not compile" fixing this issue: - fix Issue 23206 - ImportC: __declspec(noreturn) does not compile https://github.com/dlang/dmd/pull/14252 --

[Issue 23206] ImportC: __declspec(noreturn) does not compile

2022-06-25 Thread d-bugmail--- via Digitalmars-d-bugs
that |__declspec(noreturn) does |relies on |not compile --

[Issue 23063] It is possible to return a noreturn value

2022-06-09 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #2 from Dlang Bot --- dlang/dmd pull request #14187 "Fix Issue 23063 - It is possible to return a noreturn value" was merged into master: - 8a0812895ccfabcdee31f2140c203367ccee5e97 by RazvanN7: Fix Issue 23063 - It is possible to return a noreturn va

[Issue 23063] It is possible to return a noreturn value

2022-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
--- @RazvanN7 created dlang/dmd pull request #14187 "Fix Issue 23063 - It is possible to return a noreturn value" fixing this issue: - Fix Issue 23063 - It is possible to return a noreturn value https://github.com/dlang/dmd/pull/14187 --

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

2022-05-27 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |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 me

  1   2   3   4   5   >