TypeScript/tests/baselines/reference/templateStringWithEmbeddedYieldKeywordES6.errors.txt
2014-12-16 19:11:07 -08:00

14 lines
720 B
Plaintext

tests/cases/conformance/es6/templates/templateStringWithEmbeddedYieldKeywordES6.ts(1,9): error TS9001: Generators are not currently supported.
tests/cases/conformance/es6/templates/templateStringWithEmbeddedYieldKeywordES6.ts(3,20): error TS9000: 'yield' expressions are not currently supported.
==== tests/cases/conformance/es6/templates/templateStringWithEmbeddedYieldKeywordES6.ts (2 errors) ====
function* gen() {
~
!!! error TS9001: Generators are not currently supported.
// Once this is supported, yield *must* be parenthesized.
var x = `abc${ yield 10 }def`;
~~~~~
!!! error TS9000: 'yield' expressions are not currently supported.
}