[Issue 22708] switch statement with an undefined symbol results in many errors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 4 14:30:20 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=22708

--- Comment #2 from Dlang Bot <dlang-bot at 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

--


More information about the Digitalmars-d-bugs mailing list