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

15 lines
927 B
Text
Raw Normal View History

tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration9_es6.ts(1,10): error TS9001: Generators are not currently supported.
2015-01-06 23:19:43 +01:00
tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration9_es6.ts(2,13): error TS1167: Computed property names are only available when targeting ECMAScript 6 and higher.
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
==== tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration9_es6.ts (3 errors) ====
2014-11-25 07:45:33 +01:00
function * foo() {
2014-11-27 05:10:49 +01:00
~
!!! error TS9001: Generators are not currently supported.
2014-11-25 07:45:33 +01:00
var v = { [yield]: foo }
2014-12-17 04:11:07 +01:00
~~~~~~~
2015-01-06 23:19:43 +01:00
!!! error TS1167: Computed property names are only available when targeting ECMAScript 6 and higher.
~~~~~
!!! error TS9000: 'yield' expressions are not currently supported.
2014-11-25 21:03:55 +01:00
}