mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-22 02:35:48 -05:00
Accepted baselines.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
//// [emptyArrayBindingPatternParameter01.ts]
|
||||
|
||||
|
||||
function f([]) {
|
||||
var x, y, z;
|
||||
}
|
||||
|
||||
//// [emptyArrayBindingPatternParameter01.js]
|
||||
function f(_a) {
|
||||
var ;
|
||||
var x, y, z;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
=== tests/cases/conformance/es6/destructuring/emptyArrayBindingPatternParameter01.ts ===
|
||||
|
||||
|
||||
function f([]) {
|
||||
>f : Symbol(f, Decl(emptyArrayBindingPatternParameter01.ts, 0, 0))
|
||||
|
||||
var x, y, z;
|
||||
>x : Symbol(x, Decl(emptyArrayBindingPatternParameter01.ts, 3, 4))
|
||||
>y : Symbol(y, Decl(emptyArrayBindingPatternParameter01.ts, 3, 7))
|
||||
>z : Symbol(z, Decl(emptyArrayBindingPatternParameter01.ts, 3, 10))
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
=== tests/cases/conformance/es6/destructuring/emptyArrayBindingPatternParameter01.ts ===
|
||||
|
||||
|
||||
function f([]) {
|
||||
>f : ([]: any[]) => void
|
||||
|
||||
var x, y, z;
|
||||
>x : any
|
||||
>y : any
|
||||
>z : any
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
//// [emptyArrayBindingPatternParameter02.ts]
|
||||
|
||||
|
||||
function f(a, []) {
|
||||
var x, y, z;
|
||||
}
|
||||
|
||||
//// [emptyArrayBindingPatternParameter02.js]
|
||||
function f(a, _a) {
|
||||
var ;
|
||||
var x, y, z;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
=== tests/cases/conformance/es6/destructuring/emptyArrayBindingPatternParameter02.ts ===
|
||||
|
||||
|
||||
function f(a, []) {
|
||||
>f : Symbol(f, Decl(emptyArrayBindingPatternParameter02.ts, 0, 0))
|
||||
>a : Symbol(a, Decl(emptyArrayBindingPatternParameter02.ts, 2, 11))
|
||||
|
||||
var x, y, z;
|
||||
>x : Symbol(x, Decl(emptyArrayBindingPatternParameter02.ts, 3, 4))
|
||||
>y : Symbol(y, Decl(emptyArrayBindingPatternParameter02.ts, 3, 7))
|
||||
>z : Symbol(z, Decl(emptyArrayBindingPatternParameter02.ts, 3, 10))
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
=== tests/cases/conformance/es6/destructuring/emptyArrayBindingPatternParameter02.ts ===
|
||||
|
||||
|
||||
function f(a, []) {
|
||||
>f : (a: any, []: any[]) => void
|
||||
>a : any
|
||||
|
||||
var x, y, z;
|
||||
>x : any
|
||||
>y : any
|
||||
>z : any
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
//// [emptyArrayBindingPatternParameter03.ts]
|
||||
|
||||
|
||||
function f(a, []) {
|
||||
var x, y, z;
|
||||
}
|
||||
|
||||
//// [emptyArrayBindingPatternParameter03.js]
|
||||
function f(a, _a) {
|
||||
var ;
|
||||
var x, y, z;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
=== tests/cases/conformance/es6/destructuring/emptyArrayBindingPatternParameter03.ts ===
|
||||
|
||||
|
||||
function f(a, []) {
|
||||
>f : Symbol(f, Decl(emptyArrayBindingPatternParameter03.ts, 0, 0))
|
||||
>a : Symbol(a, Decl(emptyArrayBindingPatternParameter03.ts, 2, 11))
|
||||
|
||||
var x, y, z;
|
||||
>x : Symbol(x, Decl(emptyArrayBindingPatternParameter03.ts, 3, 4))
|
||||
>y : Symbol(y, Decl(emptyArrayBindingPatternParameter03.ts, 3, 7))
|
||||
>z : Symbol(z, Decl(emptyArrayBindingPatternParameter03.ts, 3, 10))
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
=== tests/cases/conformance/es6/destructuring/emptyArrayBindingPatternParameter03.ts ===
|
||||
|
||||
|
||||
function f(a, []) {
|
||||
>f : (a: any, []: any[]) => void
|
||||
>a : any
|
||||
|
||||
var x, y, z;
|
||||
>x : any
|
||||
>y : any
|
||||
>z : any
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
//// [emptyObjectBindingPatternParameter01.ts]
|
||||
|
||||
|
||||
function f({}) {
|
||||
var x, y, z;
|
||||
}
|
||||
|
||||
//// [emptyObjectBindingPatternParameter01.js]
|
||||
function f(_a) {
|
||||
var ;
|
||||
var x, y, z;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
=== tests/cases/conformance/es6/destructuring/emptyObjectBindingPatternParameter01.ts ===
|
||||
|
||||
|
||||
function f({}) {
|
||||
>f : Symbol(f, Decl(emptyObjectBindingPatternParameter01.ts, 0, 0))
|
||||
|
||||
var x, y, z;
|
||||
>x : Symbol(x, Decl(emptyObjectBindingPatternParameter01.ts, 3, 4))
|
||||
>y : Symbol(y, Decl(emptyObjectBindingPatternParameter01.ts, 3, 7))
|
||||
>z : Symbol(z, Decl(emptyObjectBindingPatternParameter01.ts, 3, 10))
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
=== tests/cases/conformance/es6/destructuring/emptyObjectBindingPatternParameter01.ts ===
|
||||
|
||||
|
||||
function f({}) {
|
||||
>f : ({}: {}) => void
|
||||
|
||||
var x, y, z;
|
||||
>x : any
|
||||
>y : any
|
||||
>z : any
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
//// [emptyObjectBindingPatternParameter02.ts]
|
||||
|
||||
|
||||
function f(a, {}) {
|
||||
var x, y, z;
|
||||
}
|
||||
|
||||
//// [emptyObjectBindingPatternParameter02.js]
|
||||
function f(a, _a) {
|
||||
var ;
|
||||
var x, y, z;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
=== tests/cases/conformance/es6/destructuring/emptyObjectBindingPatternParameter02.ts ===
|
||||
|
||||
|
||||
function f(a, {}) {
|
||||
>f : Symbol(f, Decl(emptyObjectBindingPatternParameter02.ts, 0, 0))
|
||||
>a : Symbol(a, Decl(emptyObjectBindingPatternParameter02.ts, 2, 11))
|
||||
|
||||
var x, y, z;
|
||||
>x : Symbol(x, Decl(emptyObjectBindingPatternParameter02.ts, 3, 4))
|
||||
>y : Symbol(y, Decl(emptyObjectBindingPatternParameter02.ts, 3, 7))
|
||||
>z : Symbol(z, Decl(emptyObjectBindingPatternParameter02.ts, 3, 10))
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
=== tests/cases/conformance/es6/destructuring/emptyObjectBindingPatternParameter02.ts ===
|
||||
|
||||
|
||||
function f(a, {}) {
|
||||
>f : (a: any, {}: {}) => void
|
||||
>a : any
|
||||
|
||||
var x, y, z;
|
||||
>x : any
|
||||
>y : any
|
||||
>z : any
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
//// [emptyObjectBindingPatternParameter03.ts]
|
||||
|
||||
|
||||
function f({}, a) {
|
||||
var x, y, z;
|
||||
}
|
||||
|
||||
//// [emptyObjectBindingPatternParameter03.js]
|
||||
function f(_a, a) {
|
||||
var ;
|
||||
var x, y, z;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
=== tests/cases/conformance/es6/destructuring/emptyObjectBindingPatternParameter03.ts ===
|
||||
|
||||
|
||||
function f({}, a) {
|
||||
>f : Symbol(f, Decl(emptyObjectBindingPatternParameter03.ts, 0, 0))
|
||||
>a : Symbol(a, Decl(emptyObjectBindingPatternParameter03.ts, 2, 14))
|
||||
|
||||
var x, y, z;
|
||||
>x : Symbol(x, Decl(emptyObjectBindingPatternParameter03.ts, 3, 4))
|
||||
>y : Symbol(y, Decl(emptyObjectBindingPatternParameter03.ts, 3, 7))
|
||||
>z : Symbol(z, Decl(emptyObjectBindingPatternParameter03.ts, 3, 10))
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
=== tests/cases/conformance/es6/destructuring/emptyObjectBindingPatternParameter03.ts ===
|
||||
|
||||
|
||||
function f({}, a) {
|
||||
>f : ({}: {}, a: any) => void
|
||||
>a : any
|
||||
|
||||
var x, y, z;
|
||||
>x : any
|
||||
>y : any
|
||||
>z : any
|
||||
}
|
||||
Reference in New Issue
Block a user