Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/literals/bigint/mv-is-not-integer-dot-dds.js

raw
1 // Copyright (C) 2017 The V8 Project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-numeric-literal-static-semantics-early-errors
6 description: >
7 It is a Syntax Error if the MV is not an integer. (dot decimalDigits)
8 info: |
9 Static Semantics: BigInt Value
10
11 NumericLiteral :: NumericLiteralBase NumericLiteralSuffix
12
13 1. Assert: NumericLiteralSuffix is n.
14 2. Let the value of NumericLiteral be the MV of NumericLiteralBase represented as BigInt.
15
16 DecimalLiteral ::
17 DecimalIntegerLiteral . DecimalDigits_opt
18 . DecimalDigits
19 features: [BigInt]
20 negative:
21 phase: parse
22 type: SyntaxError
23 ---*/
24
25 throw "Test262: This statement should not be evaluated.";
26
27 .0000000001n;