Thread overview
[Issue 22708] switch statement with an undefined symbol results in many errors
Feb 07, 2022
Dlang Bot
Mar 04, 2022
Dlang Bot
Mar 08, 2022
Dlang Bot
Mar 08, 2022
Dlang Bot
February 07, 2022
https://issues.dlang.org/show_bug.cgi?id=22708

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #13617 "Fix 22708 - Extends semantic for switch statements with invalid values" fixing this issue:

- Fix 22708 - Extends semantic for switch statements with invalid values

  Only omitting the cast allows further semantic to perform the expected
  checks and transformations. This allows for better error detection that
  were not reported before and also avoids invalid errors due to missing
  `optimize` calls.

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

--
March 04, 2022
https://issues.dlang.org/show_bug.cgi?id=22708

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@Panke updated dlang/dmd pull request #13755 "Fix Issue 21844: makedeps contain non-existing files" fixing this issue:

- Fix 22708 - Extend semantic for switch statements with invalid values
(#13617)

  Only omitting the cast allows further semantic to perform the expected
  checks and transformations. This allows for better error detection that
  were not reported before and also avoids invalid errors due to missing
  `optimize` calls.

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

--
March 08, 2022
https://issues.dlang.org/show_bug.cgi?id=22708

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@MartinNowak created dlang/dmd pull request #13785 "merge stable" fixing this issue:

- Fix 22708 - Extend semantic for switch statements with invalid values
(#13617)

  Only omitting the cast allows further semantic to perform the expected
  checks and transformations. This allows for better error detection that
  were not reported before and also avoids invalid errors due to missing
  `optimize` calls.

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

--
March 08, 2022
https://issues.dlang.org/show_bug.cgi?id=22708

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 #13785 "merge stable" was merged into master:

- 160e3ebeaed0448a81322b2c19a0ac156445d61e by Florian:
  Fix 22708 - Extend semantic for switch statements with invalid values
(#13617)

  Only omitting the cast allows further semantic to perform the expected
  checks and transformations. This allows for better error detection that
  were not reported before and also avoids invalid errors due to missing
  `optimize` calls.

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

--