HaxeFoundation / HaxeFoundation/haxe
[display] unreachable code diagnostics
Open
enhancement
feature-ide
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
Warnings for unreachable code were previously tried and deemed too annoying (https://github.com/HaxeFoundation/haxe/issues/4782, https://github.com/HaxeFoundation/haxe/issues/4744). However, I don't think there's any harm in reporting them in diagnostics so they can be grayed out by the IDE (a new `DiagnostisKind.DKUnreachableCode` and `DiagnosticsSeverity.Hint`).
Contributor guide
Assessment
This issue has not been assessed yet.