fix pogen with sub-JSX expression

This commit is contained in:
Florian Dold 2016-11-23 01:00:28 +01:00
parent d2f9fc8617
commit 4000b3ae76

View File

@ -218,6 +218,9 @@ export function processFile(sourceFile: ts.SourceFile) {
}
case ts.SyntaxKind.JsxOpeningElement:
break;
case ts.SyntaxKind.JsxElement:
fragments.push(`%${holeNum[0]++}$s`);
break;
case ts.SyntaxKind.JsxExpression:
{
let e = childNode as ts.JsxExpression;