[Improvement]: Detect usages of check where it used in the context of a type that contains an error #40238
Labels
Area/CompilerLinter
Compiler linter
Team/CompilerFE
All issues related to Language implementation and Compiler, this exclude run times.
Type/Improvement
Description
This leads to dead code blocks. For example,
Even though assigning to a wider type is a valid use case, we need to detect this use case, and help the user to write the correct code.
Describe your problem(s)
No response
Describe your solution(s)
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: