From e4bb1973ed97023546d983c1b07f22c335610e8a Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Mon, 12 Nov 2018 14:05:01 -0800 Subject: [PATCH] Fixed up flags on test cases and stray newline. --- tests/cases/compiler/bigintIndex.ts | 1 - tests/cases/compiler/bigintWithLib.ts | 1 - tests/cases/compiler/bigintWithoutLib.ts | 1 - tests/cases/compiler/numberVsBigIntOperations.ts | 1 - tests/cases/compiler/parseBigInt.ts | 1 - tests/cases/compiler/warnExperimentalBigIntLiteral.ts | 1 - 6 files changed, 6 deletions(-) diff --git a/tests/cases/compiler/bigintIndex.ts b/tests/cases/compiler/bigintIndex.ts index 78bb24be441..624ede199ca 100644 --- a/tests/cases/compiler/bigintIndex.ts +++ b/tests/cases/compiler/bigintIndex.ts @@ -1,5 +1,4 @@ // @target: esnext -// @experimentalBigInt: true // @filename: a.ts interface BigIntIndex { diff --git a/tests/cases/compiler/bigintWithLib.ts b/tests/cases/compiler/bigintWithLib.ts index 0cefd3094d4..6160ecab75c 100644 --- a/tests/cases/compiler/bigintWithLib.ts +++ b/tests/cases/compiler/bigintWithLib.ts @@ -1,4 +1,3 @@ -// @experimentalBigInt: true // @target: esnext // @declaration: true diff --git a/tests/cases/compiler/bigintWithoutLib.ts b/tests/cases/compiler/bigintWithoutLib.ts index 94d77ffa6f4..6ebb8630b7e 100644 --- a/tests/cases/compiler/bigintWithoutLib.ts +++ b/tests/cases/compiler/bigintWithoutLib.ts @@ -1,4 +1,3 @@ -// @experimentalBigInt: true // @target: es5 // Every line should error because these builtins are not declared diff --git a/tests/cases/compiler/numberVsBigIntOperations.ts b/tests/cases/compiler/numberVsBigIntOperations.ts index e6b87e57e13..74b1cea81f2 100644 --- a/tests/cases/compiler/numberVsBigIntOperations.ts +++ b/tests/cases/compiler/numberVsBigIntOperations.ts @@ -1,4 +1,3 @@ -// @experimentalBigInt: true // @target: esnext // Cannot mix bigints and numbers diff --git a/tests/cases/compiler/parseBigInt.ts b/tests/cases/compiler/parseBigInt.ts index 05ee6bfd7ac..e50fbb06c98 100644 --- a/tests/cases/compiler/parseBigInt.ts +++ b/tests/cases/compiler/parseBigInt.ts @@ -1,4 +1,3 @@ -// @experimentalBigInt: true // @target: esnext // All bases should allow "n" suffix diff --git a/tests/cases/compiler/warnExperimentalBigIntLiteral.ts b/tests/cases/compiler/warnExperimentalBigIntLiteral.ts index 6b09bf51241..95753904f4b 100644 --- a/tests/cases/compiler/warnExperimentalBigIntLiteral.ts +++ b/tests/cases/compiler/warnExperimentalBigIntLiteral.ts @@ -5,4 +5,3 @@ 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 -