Skip to content

Commit d32231e

Browse files
committed
Set numericLiteralFlags in factory to align with parser
1 parent fd081f4 commit d32231e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/factory.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ namespace ts {
8888
export function createNumericLiteral(value: string): NumericLiteral {
8989
const node = <NumericLiteral>createSynthesizedNode(SyntaxKind.NumericLiteral);
9090
node.text = value;
91+
node.numericLiteralFlags = 0;
9192
return node;
9293
}
9394

0 commit comments

Comments
 (0)