Skip to content

Commit

Permalink
Change doc-string for Unreliable variance flag. (microsoft#33036)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-williams authored and weswigham committed Aug 23, 2019
1 parent 4bddf55 commit ec39d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/types.ts
Expand Up @@ -4214,7 +4214,7 @@ namespace ts {
Independent = 1 << 2, // Unwitnessed type parameter
VarianceMask = Invariant | Covariant | Contravariant | Independent, // Mask containing all measured variances without the unmeasurable flag
Unmeasurable = 1 << 3, // Variance result is unusable - relationship relies on structural comparisons which are not reflected in generic relationships
Unreliable = 1 << 4, // Variance result is unreliable - relationship relies on structural comparisons which are not reflected in generic relationships
Unreliable = 1 << 4, // Variance result is unreliable - checking may produce false negatives, but not false positives
AllowsStructuralFallback = Unmeasurable | Unreliable,
}

Expand Down

0 comments on commit ec39d41

Please sign in to comment.