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