Skip to content

Commit aad1953

Browse files
authored
Adjust incompatible-with-await to be more strict on intersections (#3598)
1 parent 580caaf commit aad1953

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

accepted/future-releases/extension-types/feature-specification.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -885,10 +885,7 @@ one of the following criteria holds:
885885

886886
- `T` is an extension type that does not implement `Future`.
887887
- `T` is `S?`, and `S` is incompatible with await.
888-
- `T` is `X & B`, and either:
889-
- `B` is incompatible with await, or
890-
- `B` does not derive a future type, and `X` is
891-
incompatible with await.
888+
- `T` is `X & B`, and `B` is incompatible with await.
892889
- `T` is a type variable with bound `S`, and `S` is incompatible
893890
with await.
894891

0 commit comments

Comments
 (0)