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

11 lines
415 B
Plaintext
Raw Normal View History

2014-11-25 07:45:33 +01:00
tests/cases/conformance/es6/templates/templateStringWithEmbeddedYieldKeyword.ts(1,15): error TS1005: '(' expected.
2014-11-25 07:45:33 +01:00
==== tests/cases/conformance/es6/templates/templateStringWithEmbeddedYieldKeyword.ts (1 errors) ====
function* gen {
~
2014-11-25 07:45:33 +01:00
!!! error TS1005: '(' expected.
// Once this is supported, yield *must* be parenthesized.
var x = `abc${ yield 10 }def`;
}
2014-11-25 07:45:33 +01:00