14 lines
No EOL
720 B
Text
14 lines
No EOL
720 B
Text
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.
|
|
}
|
|
|