mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Merge pull request #28496 from calebsander/fix/remove-unused-baselines
Remove unused baselines
This commit is contained in:
commit
bc5668ee4b
@ -1,15 +0,0 @@
|
||||
//// [warnExperimentalBigIntLiteral.ts]
|
||||
const normalNumber = 123; // should not error
|
||||
let bigintType: bigint; // should not error
|
||||
let bigintLiteralType: 123n; // should not error when used as type
|
||||
let bigintNegativeLiteralType: -123n; // should not error when used as type
|
||||
const bigintNumber = 123n * 0b1111n + 0o444n * 0x7fn; // each literal should error
|
||||
|
||||
|
||||
|
||||
//// [warnExperimentalBigIntLiteral.js]
|
||||
var normalNumber = 123; // should not error
|
||||
var bigintType; // should not error
|
||||
var bigintLiteralType; // should not error when used as type
|
||||
var bigintNegativeLiteralType; // should not error when used as type
|
||||
var bigintNumber = 123n * 15n + 292n * 0x7fn; // each literal should error
|
||||
@ -1,17 +0,0 @@
|
||||
=== tests/cases/compiler/warnExperimentalBigIntLiteral.ts ===
|
||||
const normalNumber = 123; // should not error
|
||||
>normalNumber : Symbol(normalNumber, Decl(warnExperimentalBigIntLiteral.ts, 0, 5))
|
||||
|
||||
let bigintType: bigint; // should not error
|
||||
>bigintType : Symbol(bigintType, Decl(warnExperimentalBigIntLiteral.ts, 1, 3))
|
||||
|
||||
let bigintLiteralType: 123n; // should not error when used as type
|
||||
>bigintLiteralType : Symbol(bigintLiteralType, Decl(warnExperimentalBigIntLiteral.ts, 2, 3))
|
||||
|
||||
let bigintNegativeLiteralType: -123n; // should not error when used as type
|
||||
>bigintNegativeLiteralType : Symbol(bigintNegativeLiteralType, Decl(warnExperimentalBigIntLiteral.ts, 3, 3))
|
||||
|
||||
const bigintNumber = 123n * 0b1111n + 0o444n * 0x7fn; // each literal should error
|
||||
>bigintNumber : Symbol(bigintNumber, Decl(warnExperimentalBigIntLiteral.ts, 4, 5))
|
||||
|
||||
|
||||
@ -1,27 +0,0 @@
|
||||
=== tests/cases/compiler/warnExperimentalBigIntLiteral.ts ===
|
||||
const normalNumber = 123; // should not error
|
||||
>normalNumber : 123
|
||||
>123 : 123
|
||||
|
||||
let bigintType: bigint; // should not error
|
||||
>bigintType : bigint
|
||||
|
||||
let bigintLiteralType: 123n; // should not error when used as type
|
||||
>bigintLiteralType : 123n
|
||||
|
||||
let bigintNegativeLiteralType: -123n; // should not error when used as type
|
||||
>bigintNegativeLiteralType : -123n
|
||||
>-123n : -123n
|
||||
>123n : 123n
|
||||
|
||||
const bigintNumber = 123n * 0b1111n + 0o444n * 0x7fn; // each literal should error
|
||||
>bigintNumber : bigint
|
||||
>123n * 0b1111n + 0o444n * 0x7fn : bigint
|
||||
>123n * 0b1111n : bigint
|
||||
>123n : 123n
|
||||
>0b1111n : 15n
|
||||
>0o444n * 0x7fn : bigint
|
||||
>0o444n : 292n
|
||||
>0x7fn : 127n
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user