Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust incompatible-with-await to be more strict on intersections #3598

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -885,10 +885,7 @@ one of the following criteria holds:

- `T` is an extension type that does not implement `Future`.
- `T` is `S?`, and `S` is incompatible with await.
- `T` is `X & B`, and either:
- `B` is incompatible with await, or
- `B` does not derive a future type, and `X` is
incompatible with await.
- `T` is `X & B`, and `B` is incompatible with await.
eernstg marked this conversation as resolved.
Show resolved Hide resolved
- `T` is a type variable with bound `S`, and `S` is incompatible
with await.

Expand Down
Loading