Ron Buckton
968943f355
Reset error variable in downlevel for-await-of loop ( #38170 )
...
* Rename forAwait tests
* Reset error var in for-await loop
2020-04-24 14:59:41 -07:00
Ron Buckton
b3dc32fec7
Reset error record in downlevel for-of ( #31519 )
2019-05-22 11:18:07 -07:00
Wenlu Wang
ed8b76424e
add grammar check for labeled declaration ( #25317 )
...
* add grammar check for labeled function declaration
* fix debug failed on labeled class declaration
* move labeled statement check to binder and add more pattern for check
* update diagnostic message
* update baseline
2018-07-18 15:37:27 -06:00
Maarten Sijm
d716e2134e
Fix #21617 : Give detailed message on for-of
of iterators without downlevelIteration
2018-03-01 23:13:04 +01:00
Tingan Ho
4f3e13ab8c
Typo
2017-08-02 20:55:19 +02:00
Tingan Ho
f9e85ec091
Adds missing test cases
2017-08-02 20:48:31 +02:00
Tingan Ho
192628510f
Fixes CR comments
2017-08-02 12:05:10 +02:00
Tingan Ho
81fb3f702a
Addresses CR feedback
2017-08-01 22:10:12 +02:00
Tingan Ho
58c8a2c03d
adds test for try-catch-finally
2017-07-30 23:27:27 +02:00
Tingan Ho
c65e5a1d13
Removes valid test cases from invalid test case file
2017-07-30 23:27:14 +02:00
Tingan Ho
e349943c07
Add tests
2017-07-30 23:27:01 +02: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
Anders Hejlsberg
b14b24a96e
Update tests
2016-09-21 16:03:51 -07:00
Anders Hejlsberg
1798024f4f
Updating tests
2016-01-06 16:13:02 -08:00
Anders Hejlsberg
dbb4544d61
Adding new tests
2016-01-06 10:52:54 -08:00
Vladimir Matveev
fb15e9c7c0
Merge pull request #4788 from Microsoft/reachabilityChecks
...
initial revision of reachability checks
2015-11-02 14:55:19 -08:00
Daniel Rosenwasser
982926a4c4
Moved test.
2015-10-30 16:59:31 -07:00
Vladimir Matveev
238e1c6f4b
partially suppress reachability errors in tests
2015-10-13 11:17:10 -07:00
Vladimir Matveev
bc02341e99
addressed PR feedback, updated tests to suppress reachability errors where they are not needed
2015-10-13 10:58:55 -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
Jason Freeman
fd0fd36597
Disallow destructuring in 'for...in'
2015-02-26 18:18:01 -08:00
Daniel Rosenwasser
0939f77d77
Added tests for missing 'try' parsing
2014-07-25 18:25:43 -07:00
Mohamed Hegazy
214df64e28
Add snapshot of compiler sources
2014-07-12 17:30:19 -07:00