Commit graph

17 commits

Author SHA1 Message Date
Ron Buckton
b3dc32fec7
Reset error record in downlevel for-of (#31519) 2019-05-22 11:18:07 -07:00
Maarten Sijm
d716e2134e Fix #21617: Give detailed message on for-of of iterators without downlevelIteration 2018-03-01 23:13:04 +01:00
Kanchalai Tanglertsampan
1415cf4ea2 Update tests and baselines to declare class declaration before use 2017-02-24 17:48:06 -08:00
Ron Buckton
30aff2f6d3 Rename and simplify 'iterationMode' option 2016-12-30 14:39:51 -08:00
Ron Buckton
38b7757e57 Tests for iterationMode=iterable 2016-11-18 17:55:06 -08:00
Daniel Rosenwasser
982926a4c4 Moved test. 2015-10-30 16:59:31 -07:00
Jason Freeman
6691408147 Address PR feedback 2015-03-12 14:56:58 -07:00
Jason Freeman
03176d33ef Add tests for downlevel for-of type checking 2015-03-11 16:34:18 -07:00
Jason Freeman
32aee67c4f Change a test to be more interesting 2015-03-11 16:34:11 -07:00
Jason Freeman
fecd20a3db Fix sourcemaps for 'for...of' and no source maps for synthesized nodes 2015-03-05 11:47:40 -08:00
Jason Freeman
946dc0e0bc Accept error baselines and API breaks 2015-03-04 19:35:17 -08:00
Jason Freeman
ed3ab96eed Add tests for destructuring 'for...of' 2015-03-04 19:35:13 -08:00
Jason Freeman
905f35091f Do not create a temp for RHS if it's an identifier 2015-03-04 19:35:10 -08:00
Jason Freeman
4bb0587dd4 Fix createTempVariable to always record the name in the currentScopeNames 2015-03-04 19:35:06 -08:00
Jason Freeman
a0f108c4fb Emit 'for...of' statements with let/const initializers 2015-03-04 19:34:53 -08:00
Jason Freeman
f915efa6d7 Emit for...of when LHS is expression 2015-03-04 19:34:49 -08:00
Jason Freeman
61224e92a0 Add tests for 'for...of' emit when LHS is a var 2015-03-04 19:34:39 -08:00