give inputs separate variables
This commit is contained in:
Родитель
37cfa20503
Коммит
9a99293373
|
@ -1,26 +1,35 @@
|
|||
//// [tests/cases/conformance/es6/destructuring/emptyArrayBindingPattern01.ts] ////
|
||||
|
||||
//// [emptyArrayBindingPattern01.ts]
|
||||
export const cilBlurLinear: string[][] = [[]];
|
||||
export const cilBlurLinear1: string[][] = [[]];
|
||||
const [,] = cilBlurLinear1;
|
||||
|
||||
const [,] = cilBlurLinear;
|
||||
export const cilBlurLinear2: string[][] = [[]];
|
||||
let [,] = cilBlurLinear2;
|
||||
|
||||
let [,] = cilBlurLinear;
|
||||
export const cilBlurLinear3: string[][] = [[]];
|
||||
var [,] = cilBlurLinear3;
|
||||
|
||||
var [,] = cilBlurLinear;
|
||||
export const cilBlurLinear4: string[][] = [[]];
|
||||
const [[]] = cilBlurLinear4;
|
||||
|
||||
const [[]] = cilBlurLinear;
|
||||
export const cilBlurLinear5: string[][] = [[]];
|
||||
let [[]] = cilBlurLinear5;
|
||||
|
||||
let [[]] = cilBlurLinear;
|
||||
|
||||
var [[]] = cilBlurLinear;
|
||||
export const cilBlurLinear6: string[][] = [[]];
|
||||
var [[]] = cilBlurLinear6;
|
||||
|
||||
|
||||
//// [emptyArrayBindingPattern01.js]
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.cilBlurLinear = void 0;
|
||||
exports.cilBlurLinear = [[]];
|
||||
var _a = exports.cilBlurLinear[0];
|
||||
var _b = exports.cilBlurLinear[0];
|
||||
var _c = exports.cilBlurLinear[0];
|
||||
exports.cilBlurLinear6 = exports.cilBlurLinear5 = exports.cilBlurLinear4 = exports.cilBlurLinear3 = exports.cilBlurLinear2 = exports.cilBlurLinear1 = void 0;
|
||||
exports.cilBlurLinear1 = [[]];
|
||||
exports.cilBlurLinear2 = [[]];
|
||||
exports.cilBlurLinear3 = [[]];
|
||||
exports.cilBlurLinear4 = [[]];
|
||||
var _a = exports.cilBlurLinear4[0];
|
||||
exports.cilBlurLinear5 = [[]];
|
||||
var _b = exports.cilBlurLinear5[0];
|
||||
exports.cilBlurLinear6 = [[]];
|
||||
var _c = exports.cilBlurLinear6[0];
|
||||
|
|
|
@ -1,24 +1,39 @@
|
|||
//// [tests/cases/conformance/es6/destructuring/emptyArrayBindingPattern01.ts] ////
|
||||
|
||||
=== emptyArrayBindingPattern01.ts ===
|
||||
export const cilBlurLinear: string[][] = [[]];
|
||||
>cilBlurLinear : Symbol(cilBlurLinear, Decl(emptyArrayBindingPattern01.ts, 0, 12))
|
||||
export const cilBlurLinear1: string[][] = [[]];
|
||||
>cilBlurLinear1 : Symbol(cilBlurLinear1, Decl(emptyArrayBindingPattern01.ts, 0, 12))
|
||||
|
||||
const [,] = cilBlurLinear;
|
||||
>cilBlurLinear : Symbol(cilBlurLinear, Decl(emptyArrayBindingPattern01.ts, 0, 12))
|
||||
const [,] = cilBlurLinear1;
|
||||
>cilBlurLinear1 : Symbol(cilBlurLinear1, Decl(emptyArrayBindingPattern01.ts, 0, 12))
|
||||
|
||||
let [,] = cilBlurLinear;
|
||||
>cilBlurLinear : Symbol(cilBlurLinear, Decl(emptyArrayBindingPattern01.ts, 0, 12))
|
||||
export const cilBlurLinear2: string[][] = [[]];
|
||||
>cilBlurLinear2 : Symbol(cilBlurLinear2, Decl(emptyArrayBindingPattern01.ts, 3, 12))
|
||||
|
||||
var [,] = cilBlurLinear;
|
||||
>cilBlurLinear : Symbol(cilBlurLinear, Decl(emptyArrayBindingPattern01.ts, 0, 12))
|
||||
let [,] = cilBlurLinear2;
|
||||
>cilBlurLinear2 : Symbol(cilBlurLinear2, Decl(emptyArrayBindingPattern01.ts, 3, 12))
|
||||
|
||||
const [[]] = cilBlurLinear;
|
||||
>cilBlurLinear : Symbol(cilBlurLinear, Decl(emptyArrayBindingPattern01.ts, 0, 12))
|
||||
export const cilBlurLinear3: string[][] = [[]];
|
||||
>cilBlurLinear3 : Symbol(cilBlurLinear3, Decl(emptyArrayBindingPattern01.ts, 6, 12))
|
||||
|
||||
let [[]] = cilBlurLinear;
|
||||
>cilBlurLinear : Symbol(cilBlurLinear, Decl(emptyArrayBindingPattern01.ts, 0, 12))
|
||||
var [,] = cilBlurLinear3;
|
||||
>cilBlurLinear3 : Symbol(cilBlurLinear3, Decl(emptyArrayBindingPattern01.ts, 6, 12))
|
||||
|
||||
var [[]] = cilBlurLinear;
|
||||
>cilBlurLinear : Symbol(cilBlurLinear, Decl(emptyArrayBindingPattern01.ts, 0, 12))
|
||||
export const cilBlurLinear4: string[][] = [[]];
|
||||
>cilBlurLinear4 : Symbol(cilBlurLinear4, Decl(emptyArrayBindingPattern01.ts, 9, 12))
|
||||
|
||||
const [[]] = cilBlurLinear4;
|
||||
>cilBlurLinear4 : Symbol(cilBlurLinear4, Decl(emptyArrayBindingPattern01.ts, 9, 12))
|
||||
|
||||
export const cilBlurLinear5: string[][] = [[]];
|
||||
>cilBlurLinear5 : Symbol(cilBlurLinear5, Decl(emptyArrayBindingPattern01.ts, 12, 12))
|
||||
|
||||
let [[]] = cilBlurLinear5;
|
||||
>cilBlurLinear5 : Symbol(cilBlurLinear5, Decl(emptyArrayBindingPattern01.ts, 12, 12))
|
||||
|
||||
export const cilBlurLinear6: string[][] = [[]];
|
||||
>cilBlurLinear6 : Symbol(cilBlurLinear6, Decl(emptyArrayBindingPattern01.ts, 15, 12))
|
||||
|
||||
var [[]] = cilBlurLinear6;
|
||||
>cilBlurLinear6 : Symbol(cilBlurLinear6, Decl(emptyArrayBindingPattern01.ts, 15, 12))
|
||||
|
||||
|
|
|
@ -1,41 +1,81 @@
|
|||
//// [tests/cases/conformance/es6/destructuring/emptyArrayBindingPattern01.ts] ////
|
||||
|
||||
=== emptyArrayBindingPattern01.ts ===
|
||||
export const cilBlurLinear: string[][] = [[]];
|
||||
>cilBlurLinear : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
export const cilBlurLinear1: string[][] = [[]];
|
||||
>cilBlurLinear1 : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
>[[]] : undefined[][]
|
||||
> : ^^^^^^^^^^^^^
|
||||
>[] : undefined[]
|
||||
> : ^^^^^^^^^^^
|
||||
|
||||
const [,] = cilBlurLinear;
|
||||
const [,] = cilBlurLinear1;
|
||||
> : undefined
|
||||
> : ^^^^^^^^^
|
||||
>cilBlurLinear : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
>cilBlurLinear1 : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
|
||||
let [,] = cilBlurLinear;
|
||||
export const cilBlurLinear2: string[][] = [[]];
|
||||
>cilBlurLinear2 : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
>[[]] : undefined[][]
|
||||
> : ^^^^^^^^^^^^^
|
||||
>[] : undefined[]
|
||||
> : ^^^^^^^^^^^
|
||||
|
||||
let [,] = cilBlurLinear2;
|
||||
> : undefined
|
||||
> : ^^^^^^^^^
|
||||
>cilBlurLinear : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
>cilBlurLinear2 : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
|
||||
var [,] = cilBlurLinear;
|
||||
export const cilBlurLinear3: string[][] = [[]];
|
||||
>cilBlurLinear3 : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
>[[]] : undefined[][]
|
||||
> : ^^^^^^^^^^^^^
|
||||
>[] : undefined[]
|
||||
> : ^^^^^^^^^^^
|
||||
|
||||
var [,] = cilBlurLinear3;
|
||||
> : undefined
|
||||
> : ^^^^^^^^^
|
||||
>cilBlurLinear : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
>cilBlurLinear3 : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
|
||||
const [[]] = cilBlurLinear;
|
||||
>cilBlurLinear : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
export const cilBlurLinear4: string[][] = [[]];
|
||||
>cilBlurLinear4 : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
>[[]] : undefined[][]
|
||||
> : ^^^^^^^^^^^^^
|
||||
>[] : undefined[]
|
||||
> : ^^^^^^^^^^^
|
||||
|
||||
let [[]] = cilBlurLinear;
|
||||
>cilBlurLinear : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
const [[]] = cilBlurLinear4;
|
||||
>cilBlurLinear4 : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
|
||||
var [[]] = cilBlurLinear;
|
||||
>cilBlurLinear : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
export const cilBlurLinear5: string[][] = [[]];
|
||||
>cilBlurLinear5 : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
>[[]] : undefined[][]
|
||||
> : ^^^^^^^^^^^^^
|
||||
>[] : undefined[]
|
||||
> : ^^^^^^^^^^^
|
||||
|
||||
let [[]] = cilBlurLinear5;
|
||||
>cilBlurLinear5 : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
|
||||
export const cilBlurLinear6: string[][] = [[]];
|
||||
>cilBlurLinear6 : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
>[[]] : undefined[][]
|
||||
> : ^^^^^^^^^^^^^
|
||||
>[] : undefined[]
|
||||
> : ^^^^^^^^^^^
|
||||
|
||||
var [[]] = cilBlurLinear6;
|
||||
>cilBlurLinear6 : string[][]
|
||||
> : ^^^^^^^^^^
|
||||
|
||||
|
|
|
@ -1,16 +1,20 @@
|
|||
// @module: commonjs
|
||||
// @target: es5
|
||||
|
||||
export const cilBlurLinear: string[][] = [[]];
|
||||
export const cilBlurLinear1: string[][] = [[]];
|
||||
const [,] = cilBlurLinear1;
|
||||
|
||||
const [,] = cilBlurLinear;
|
||||
export const cilBlurLinear2: string[][] = [[]];
|
||||
let [,] = cilBlurLinear2;
|
||||
|
||||
let [,] = cilBlurLinear;
|
||||
export const cilBlurLinear3: string[][] = [[]];
|
||||
var [,] = cilBlurLinear3;
|
||||
|
||||
var [,] = cilBlurLinear;
|
||||
export const cilBlurLinear4: string[][] = [[]];
|
||||
const [[]] = cilBlurLinear4;
|
||||
|
||||
const [[]] = cilBlurLinear;
|
||||
export const cilBlurLinear5: string[][] = [[]];
|
||||
let [[]] = cilBlurLinear5;
|
||||
|
||||
let [[]] = cilBlurLinear;
|
||||
|
||||
var [[]] = cilBlurLinear;
|
||||
export const cilBlurLinear6: string[][] = [[]];
|
||||
var [[]] = cilBlurLinear6;
|
||||
|
|
Загрузка…
Ссылка в новой задаче