TypeScript/tests/baselines/reference/YieldExpression8_es6.errors.txt

16 lines
755 B
Plaintext
Raw Normal View History

tests/cases/conformance/es6/yieldExpressions/YieldExpression8_es6.ts(1,1): error TS2304: Cannot find name 'yield'.
tests/cases/conformance/es6/yieldExpressions/YieldExpression8_es6.ts(2,9): error TS9001: Generators are not currently supported.
2014-12-17 04:11:07 +01:00
tests/cases/conformance/es6/yieldExpressions/YieldExpression8_es6.ts(3,3): error TS9000: 'yield' expressions are not currently supported.
2014-11-25 07:45:33 +01:00
2014-12-17 04:11:07 +01:00
==== tests/cases/conformance/es6/yieldExpressions/YieldExpression8_es6.ts (3 errors) ====
2014-11-25 07:45:33 +01:00
yield(foo);
~~~~~
!!! error TS2304: Cannot find name 'yield'.
function* foo() {
2014-11-25 22:54:26 +01:00
~
!!! error TS9001: Generators are not currently supported.
2014-11-25 07:45:33 +01:00
yield(foo);
2014-12-17 04:11:07 +01:00
~~~~~
!!! error TS9000: 'yield' expressions are not currently supported.
2014-11-25 07:45:33 +01:00
}