File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -352,9 +352,8 @@ schema.
352
352
- If the enclosing function is marked ` async* ` , then for each ` yield* e; `
353
353
statement in the block, let ` S ` be the inferred type of ` e ` , using the
354
354
local type inference algorithm described below with a typing context of
355
- ` Stream<K> ` . If there exists a type ` E ` such that ` Stream<E> ` is a
356
- super-interface of ` S ` , update ` T ` to be ` UP(E, T) ` . Otherwise update
357
- ` T ` to be ` UP(S, T) ` .
355
+ ` Stream<K> ` . If ` S ` implements ` Stream<E> ` for some ` E ` then update ` T ` to
356
+ be ` UP(E, T) ` . Otherwise update ` T ` to be ` UP(S, T) ` .
358
357
_ It is a compile-time error if * S* is not a assignable to
359
358
` Stream<Object?> ` , so either * S* implements ` Iterable ` , or it is one of
360
359
` dynamic ` or ` Never ` ._
You can’t perform that action at this time.
0 commit comments