From d32231ebe3fd597ffa36bfce26e7506c91a9c20c Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Tue, 4 Apr 2017 16:49:03 -0700 Subject: [PATCH] Set numericLiteralFlags in factory to align with parser --- src/compiler/factory.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/factory.ts b/src/compiler/factory.ts index 3ed1c3bb9d5..718bf48389a 100644 --- a/src/compiler/factory.ts +++ b/src/compiler/factory.ts @@ -88,6 +88,7 @@ namespace ts { export function createNumericLiteral(value: string): NumericLiteral { const node = createSynthesizedNode(SyntaxKind.NumericLiteral); node.text = value; + node.numericLiteralFlags = 0; return node; }