2014-12-12 02:22:22 +01:00
|
|
|
tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration9_es6.ts(1,10): error TS9001: Generators are not currently supported.
|
2015-01-10 02:46:16 +01:00
|
|
|
tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration9_es6.ts(2,14): error TS9000: 'yield' expressions are not currently supported.
|
2014-11-25 07:45:33 +01:00
|
|
|
|
|
|
|
|
2015-02-05 00:33:53 +01:00
|
|
|
==== tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration9_es6.ts (2 errors) ====
|
2014-11-25 07:45:33 +01:00
|
|
|
function * foo() {
|
2014-11-27 05:10:49 +01:00
|
|
|
~
|
2014-12-12 02:22:22 +01:00
|
|
|
!!! error TS9001: Generators are not currently supported.
|
2014-11-25 07:45:33 +01:00
|
|
|
var v = { [yield]: foo }
|
2015-01-10 02:46:16 +01:00
|
|
|
~~~~~
|
|
|
|
!!! error TS9000: 'yield' expressions are not currently supported.
|
2014-11-25 21:03:55 +01:00
|
|
|
}
|