E0032: legacy octal literal may not be BigInt
Decimal number literals can be BigInt
with an n
suffix. Legacy octal number
literals, which start with an extra 0
digit, cannot be suffixed with n
:
To fix this error, make the number literal a decimal number literal by removing
the extra leading 0
, or use the 0o
to make the a modern octal literal:
Introduced in quick-lint-js version 0.2.0.