Thread overview
[Issue 19762] ICE on invalid code
Mar 26, 2019
Dlang Bot
Mar 26, 2019
Dlang Bot
Sep 27, 2020
kinke
Dec 17, 2022
Iain Buclaw
Dec 17, 2022
Iain Buclaw
Dec 17, 2022
Iain Buclaw
March 26, 2019
https://issues.dlang.org/show_bug.cgi?id=19762

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@RazvanN7 created dlang/dmd pull request #9495 "Fix Issue 19762 - ICE on invalid code" fixing this issue:

- Fix Issue 19762 - ICE on invalid code

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

--
March 26, 2019
https://issues.dlang.org/show_bug.cgi?id=19762

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #9495 "Fix Issue 19762 - ICE on invalid code" was merged into stable:

- 1edd0d944e5947ae144d2b1341f7a5fc1dc2c80e by RazvanN7:
  Fix Issue 19762 - ICE on invalid code

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

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

kinke <kinke@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |kinke@gmx.net
           Hardware|x86_64                      |All
         Resolution|FIXED                       |---
                 OS|Windows                     |All

--- Comment #3 from kinke <kinke@gmx.net> ---
I'm reopening this, as the error msg is ridiculous, and the compiler shouldn't make it to the codegen stage. When making `struct X` a `class X`, there's no codegen with various follow-up issues, and the error msg is much better:

Error: undefined identifier Err, did you mean variable err?

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=19762

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=19762

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
           Severity|normal                      |critical

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=19762

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice

--