HaxeFoundation / HaxeFoundation/haxe

[display] unreachable code diagnostics

Open
#8,670 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.