2014-12-12 02:22:22 +01:00
|
|
|
tests/cases/conformance/es6/yieldExpressions/YieldExpression11_es6.ts(2,3): error TS9001: Generators are not currently supported.
|
2014-12-17 04:11:07 +01:00
|
|
|
tests/cases/conformance/es6/yieldExpressions/YieldExpression11_es6.ts(3,5): error TS9000: 'yield' expressions are not currently supported.
|
2014-11-25 21:16:31 +01:00
|
|
|
|
|
|
|
|
2014-12-17 04:11:07 +01:00
|
|
|
==== tests/cases/conformance/es6/yieldExpressions/YieldExpression11_es6.ts (2 errors) ====
|
2014-11-25 21:16:31 +01:00
|
|
|
class C {
|
|
|
|
*foo() {
|
|
|
|
~
|
2014-12-12 02:22:22 +01:00
|
|
|
!!! error TS9001: Generators are not currently supported.
|
2014-11-25 21:16:31 +01:00
|
|
|
yield(foo);
|
2014-12-17 04:11:07 +01:00
|
|
|
~~~~~
|
|
|
|
!!! error TS9000: 'yield' expressions are not currently supported.
|
2014-11-25 21:16:31 +01:00
|
|
|
}
|
|
|
|
}
|