taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit e43187d617d33ffbfdbd1121e5166fe8a65fe21b
parent c43e24bb13d75af41d6839b1e921165982b64fe8
Author: Florian Dold <florian.dold@gmail.com>
Date:   Wed, 23 Nov 2016 00:55:54 +0100

better pogen error reporting

Diffstat:
Mpogen/pogen.ts | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pogen/pogen.ts b/pogen/pogen.ts @@ -227,7 +227,8 @@ export function processFile(sourceFile: ts.SourceFile) { case ts.SyntaxKind.JsxClosingElement: break; default: - console.error("unrecognized syntax in JSX Element", ts.SyntaxKind[childNode.kind]); + let lc = ts.getLineAndCharacterOfPosition(childNode.getSourceFile(), childNode.getStart()); + console.error(`unrecognized syntax in JSX Element (${childNode.getSourceFile().fileName}:${lc.line}:${lc.character}`); break; } };