2014-11-25 22:54:26 +01:00
|
|
|
tests/cases/conformance/es6/templates/templateStringWithEmbeddedYieldKeywordES6.ts(1,9): error TS9001: 'generators' are not currently supported.
|
2014-11-25 21:16:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
==== tests/cases/conformance/es6/templates/templateStringWithEmbeddedYieldKeywordES6.ts (1 errors) ====
|
|
|
|
function* gen() {
|
2014-11-25 22:54:26 +01:00
|
|
|
~
|
2014-11-25 21:16:31 +01:00
|
|
|
!!! error TS9001: 'generators' are not currently supported.
|
|
|
|
// Once this is supported, yield *must* be parenthesized.
|
|
|
|
var x = `abc${ yield 10 }def`;
|
|
|
|
}
|
|
|
|
|