We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3fc765 commit 9b4dc17Copy full SHA for 9b4dc17
resources/type-system/flow-analysis.md
@@ -472,8 +472,8 @@ Definitions:
472
- Let `p2` be the set `p1 \ { provisionalType }` _(where `\` denotes set
473
difference)_.
474
- If the `written` type is in `p2` then `newPromotionChain` is
475
- `[...promotionChain, written]`. _Writing a value
476
- whose static type is a type of interest promotes to that type._
+ `[...promotionChain, written]`. _Writing a value whose static type is a
+ type of interest promotes to that type._
477
- _By precondition, `written <: declared` and `written <: T` for all types
478
in `promotionChain`. Therefore, `newPromotionChain` satisfies the
479
definition of a promotion chain, and is valid for declared type
0 commit comments