9 lines
369 B
Text
9 lines
369 B
Text
=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedYieldKeywordES6.ts ===
|
|
function* gen() {
|
|
>gen : Symbol(gen, Decl(templateStringWithEmbeddedYieldKeywordES6.ts, 0, 0))
|
|
|
|
// Once this is supported, yield *must* be parenthesized.
|
|
var x = `abc${ yield 10 }def`;
|
|
>x : Symbol(x, Decl(templateStringWithEmbeddedYieldKeywordES6.ts, 2, 7))
|
|
}
|
|
|