TypeScript/tests/cases/conformance/es6/for-ofStatements
Ron Buckton e8bf9584aa
Improve type checking and inference for Generators and Async Generators (#30790)
* Improve typing for Generators and Async Generators

* Add TReturn and TNext to Iterator, IterableIterator, etc.

* Update ts internal Iterator to be assignable from global Iterator

* Make 'done' optional in IteratorYieldResult

* Revert Iterable and IterableIterator to simpler versions plus other fixes

* Add additional inference tests

* Added additional tests

* PR cleanup and minor async iteration type fix

* Updated diagnostics message and added non-strict tests

* Fix expected arity of Iterator/AsyncIterator
2019-07-03 21:55:59 -07:00
..
for-of1.ts Basic tests 2015-02-26 18:17:02 -08:00
for-of2.ts Basic tests 2015-02-26 18:17:02 -08:00
for-of3.ts Update tests 2016-09-21 16:03:51 -07:00
for-of4.ts Basic tests 2015-02-26 18:17:02 -08:00
for-of5.ts Basic tests 2015-02-26 18:17:02 -08:00
for-of6.ts Basic tests 2015-02-26 18:17:02 -08:00
for-of7.ts Basic tests 2015-02-26 18:17:02 -08:00
for-of8.ts Basic tests 2015-02-26 18:17:02 -08:00
for-of9.ts Add tests and accept correct baselines 2015-02-26 18:17:08 -08:00
for-of10.ts Add tests and accept correct baselines 2015-02-26 18:17:08 -08:00
for-of11.ts Add tests and accept correct baselines 2015-02-26 18:17:08 -08:00
for-of12.ts Add tests and accept correct baselines 2015-02-26 18:17:08 -08:00
for-of13.ts Add tests and accept correct baselines 2015-02-26 18:17:08 -08:00
for-of14.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
for-of15.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
for-of16.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
for-of17.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
for-of18.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
for-of19.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
for-of20.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
for-of21.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
for-of22.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
for-of23.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
for-of24.ts Fix getIteratedType to work with 'any' at all levels 2015-02-26 18:17:28 -08:00
for-of25.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
for-of26.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
for-of27.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
for-of28.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
for-of29.ts Check for assignability to the relevant iteratable type 2015-02-26 18:17:31 -08:00
for-of30.ts Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
for-of31.ts Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
for-of32.ts Add tests for circular references in for...of loops 2015-02-26 18:17:35 -08:00
for-of33.ts Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
for-of34.ts Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
for-of35.ts Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
for-of36.ts In ES6, an Iterable should contextually type an array literal 2015-02-26 18:17:41 -08:00
for-of37.ts In ES6, an Iterable should contextually type an array literal 2015-02-26 18:17:41 -08:00
for-of38.ts Add tests for for-of destructuring 2015-02-26 18:17:44 -08:00
for-of39.ts Unpatch vfs resolver and default lib rename 2018-05-03 14:18:50 -07:00
for-of40.ts Add tests for for-of destructuring 2015-02-26 18:17:44 -08:00
for-of41.ts Add tests for for-of destructuring 2015-02-26 18:17:44 -08:00
for-of42.ts Add tests for for-of destructuring 2015-02-26 18:17:44 -08:00
for-of43.ts Add tests for for-of destructuring 2015-02-26 18:17:44 -08:00
for-of44.ts Add tests for for-of destructuring 2015-02-26 18:17:44 -08:00
for-of45.ts Support assignment patterns in 'for...of' statements 2015-02-26 18:17:54 -08:00
for-of46.ts Support assignment patterns in 'for...of' statements 2015-02-26 18:17:54 -08:00
for-of47.ts Support assignment patterns in 'for...of' statements 2015-02-26 18:17:54 -08:00
for-of48.ts Add a few more tests 2015-02-26 18:17:58 -08:00
for-of49.ts Add a few more tests 2015-02-26 18:17:58 -08:00
for-of50.ts Add a few more tests 2015-02-26 18:17:58 -08:00
for-of51.ts Add tests for scoping 2015-03-01 18:16:20 -08:00
for-of52.ts Add tests for scoping 2015-03-01 18:16:20 -08:00
for-of53.ts Add tests for scoping 2015-03-01 18:16:20 -08:00
for-of54.ts Add tests for scoping 2015-03-01 18:16:20 -08:00
for-of55.ts Add tests for scoping 2015-03-01 18:16:20 -08:00
for-of56.ts Add one more test 2015-03-02 13:53:59 -08:00
for-of57.ts Optimize direct Iterable reference in getIteratedType 2015-03-25 18:38:14 -07:00