10 lines
369 B
Plaintext
10 lines
369 B
Plaintext
=== 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))
|
|
}
|
|
|