Closed Tc14Hd closed 1 year ago
The code
tree = ast.parse("1000000000000000n"); console.log(tree.body[0].expression);
outputs a node of type "Literal":
{ type: 'Literal', value: 1000000000000000n, bigint: '1000000000000000' }
But the README implies that the type should rather be "BigIntLiteral". Is this a bug?
@Tc14Hd thanks! That's a bug in the readme, not intentional. I've removed the falsy example.
The code
outputs a node of type "Literal":
But the README implies that the type should rather be "BigIntLiteral". Is this a bug?