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

19 lines
858 B
Plaintext
Raw Normal View History

tests/cases/conformance/es6/yieldExpressions/YieldExpression19_es6.ts(1,9): error TS9001: Generators are not currently supported.
2014-12-17 04:11:07 +01:00
tests/cases/conformance/es6/yieldExpressions/YieldExpression19_es6.ts(3,13): error TS9001: Generators are not currently supported.
tests/cases/conformance/es6/yieldExpressions/YieldExpression19_es6.ts(4,7): error TS9000: 'yield' expressions are not currently supported.
2014-12-17 04:11:07 +01:00
==== tests/cases/conformance/es6/yieldExpressions/YieldExpression19_es6.ts (3 errors) ====
function*foo() {
2014-11-25 22:54:26 +01:00
~
!!! error TS9001: Generators are not currently supported.
function bar() {
function* quux() {
2014-12-17 04:11:07 +01:00
~
!!! error TS9001: Generators are not currently supported.
yield(foo);
2014-12-17 04:11:07 +01:00
~~~~~
!!! error TS9000: 'yield' expressions are not currently supported.
}
}
}