-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Typing: soundnessNo false negatives (type checker claims that there is no error in the incorrect program)No false negatives (type checker claims that there is no error in the incorrect program)
Description
We have a lot of reports on unsoundness issues. This issue categorizes them into the underlying cause.
- Unsound literal types
- Default value is not validated when deconstruction is used #8972
- Inferred array type allows unsound covariance? #8607
- Possibility to call non-existing method on array element without explicit 'any' #8593
- Flow infers inconsistent types on mutable array #8108
typeof
is unsound with string literals #7961- Flow allows unsound object type assertion #7360
- Unsoundness when mutable objects are used (
false
has typetrue
) #6893 - Flow ignores literal property update #3630
- incorrect type inference with Array on function parameters #3303
- Unchecked variance in interfaces
- Unchecked variance in builtin utility types
- Unsound generics
-
Object.freeze
unsoundness - Class field initialization check
mvitousek, gkz, mrtnzlml, vdjeric, Brianzchen and 3 more
Metadata
Metadata
Assignees
Labels
Typing: soundnessNo false negatives (type checker claims that there is no error in the incorrect program)No false negatives (type checker claims that there is no error in the incorrect program)