Commit graph

13 commits

Author SHA1 Message Date
Nathan Shively-Sanders 9025bc7c69
Fix control flow loop in yield expression (#25228)
* Fix control flow loop in yield expression

Yet again, the fix is to stop using checkExpressionCached.

* Update lib in test to reduce number of errors
2018-06-26 12:50:29 -07:00
Andy e48bcd60ba
Treat 'yield;' as 'yield undefined;' (#22297)
* Treat 'yield;' as 'yield undefined;'

* Use undefinedWideningType
2018-03-08 15:41:04 -08:00
wenlu.wang 78250ec58f fix noImplicitReturns check when strictNullChecks is false (#20326) 2017-11-29 15:27:32 -08:00
Kanchalai Tanglertsampan 43cb2f5646 Add tests 2017-02-22 10:24:00 -08:00
Ron Buckton e53263edbb Added conformance tests for async generators 2016-11-17 23:17:42 -08:00
Jason Freeman cb198aa7f2 Disallow yield expressions inside a class 2015-05-11 17:40:38 -07:00
Jason Freeman 8c1f5da76a Always call getReturnTypeOfSignature on a generator from checkFunctionLikeDeclaration 2015-05-06 11:28:13 -07:00
Jason Freeman 28d9c6cd7e Add tests for generators 2015-05-04 16:15:55 -07:00
Jason Freeman 7f5a89ae5e Disallow * token on overload signatures 2015-05-04 16:00:25 -07:00
Jason Freeman d52c224697 Disallow generators in an ambient context 2015-05-04 16:00:22 -07:00
Jason Freeman 8dac1bf033 Add some tests for yield* 2015-05-04 16:00:14 -07:00
Cyrus Najmabadi 3b253e9a4a Add an _es6 suffix to prevent name collisions. 2014-11-24 22:53:55 -08:00
Cyrus Najmabadi 78cd1b5f7e Parser tests for generators and yield expressions. 2014-11-24 22:40:54 -08:00