Gabriela Araujo Britto bdb8514b82
Fix contextual typing on yield and return expressions in generator function (#49736)
* add tests and initial fix

* fix contextual return type in generator funcs

* fix return statement contextual typing

* filter using getiterationtypeofgeneratorfunctionreturntype

* update baselines
2022-08-05 11:24:43 -07:00
..
2022-03-03 09:10:02 -08:00
2021-08-20 17:05:19 -07:00
2021-11-04 10:55:11 -07:00
2021-03-11 07:32:49 -08:00
2022-05-09 10:41:02 -07:00
2021-03-09 11:43:19 -08:00