mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 02:13:31 -06:00
Accept new baselines
This commit is contained in:
parent
eb7bbfb28e
commit
b38e42e41e
@ -9,8 +9,8 @@ var a: any;
|
||||
>a : any
|
||||
|
||||
var v = {
|
||||
>v : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; }
|
||||
>{ [s]() { }, [n]() { }, [s + s]() { }, [s + n]() { }, [+s]() { }, [""]() { }, [0]() { }, [a]() { }, [<any>true]() { }, [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; }
|
||||
>v : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; [`hello bye`](): void; }
|
||||
>{ [s]() { }, [n]() { }, [s + s]() { }, [s + n]() { }, [+s]() { }, [""]() { }, [0]() { }, [a]() { }, [<any>true]() { }, [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; [`hello bye`](): void; }
|
||||
|
||||
[s]() { },
|
||||
>[s] : () => void
|
||||
|
||||
@ -9,8 +9,8 @@ var a: any;
|
||||
>a : any
|
||||
|
||||
var v = {
|
||||
>v : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; }
|
||||
>{ [s]() { }, [n]() { }, [s + s]() { }, [s + n]() { }, [+s]() { }, [""]() { }, [0]() { }, [a]() { }, [<any>true]() { }, [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; }
|
||||
>v : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; [`hello bye`](): void; }
|
||||
>{ [s]() { }, [n]() { }, [s + s]() { }, [s + n]() { }, [+s]() { }, [""]() { }, [0]() { }, [a]() { }, [<any>true]() { }, [`hello bye`]() { }, [`hello ${a} bye`]() { }} : { [x: string]: () => void; [x: number]: () => void; [""](): void; [0](): void; [`hello bye`](): void; }
|
||||
|
||||
[s]() { },
|
||||
>[s] : () => void
|
||||
|
||||
@ -12,8 +12,8 @@ class C extends Base {
|
||||
>super : typeof Base
|
||||
|
||||
var obj = {
|
||||
>obj : { [x: string]: () => void; }
|
||||
>{ [(super(), "prop")]() { } } : { [x: string]: () => void; }
|
||||
>obj : { [(super(), "prop")](): void; }
|
||||
>{ [(super(), "prop")]() { } } : { [(super(), "prop")](): void; }
|
||||
|
||||
[(super(), "prop")]() { }
|
||||
>[(super(), "prop")] : () => void
|
||||
|
||||
@ -12,8 +12,8 @@ class C extends Base {
|
||||
>super : typeof Base
|
||||
|
||||
var obj = {
|
||||
>obj : { [x: string]: () => void; }
|
||||
>{ [(super(), "prop")]() { } } : { [x: string]: () => void; }
|
||||
>obj : { [(super(), "prop")](): void; }
|
||||
>{ [(super(), "prop")]() { } } : { [(super(), "prop")](): void; }
|
||||
|
||||
[(super(), "prop")]() { }
|
||||
>[(super(), "prop")] : () => void
|
||||
|
||||
@ -15,8 +15,8 @@ class C extends Base {
|
||||
>() => { var obj = { // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } }; } : () => void
|
||||
|
||||
var obj = {
|
||||
>obj : { [x: string]: () => void; }
|
||||
>{ // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } } : { [x: string]: () => void; }
|
||||
>obj : { [(super(), "prop")](): void; }
|
||||
>{ // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } } : { [(super(), "prop")](): void; }
|
||||
|
||||
// Ideally, we would capture this. But the reference is
|
||||
// illegal, and not capturing this is consistent with
|
||||
|
||||
@ -15,8 +15,8 @@ class C extends Base {
|
||||
>() => { var obj = { // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } }; } : () => void
|
||||
|
||||
var obj = {
|
||||
>obj : { [x: string]: () => void; }
|
||||
>{ // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } } : { [x: string]: () => void; }
|
||||
>obj : { [(super(), "prop")](): void; }
|
||||
>{ // Ideally, we would capture this. But the reference is // illegal, and not capturing this is consistent with //treatment of other similar violations. [(super(), "prop")]() { } } : { [(super(), "prop")](): void; }
|
||||
|
||||
// Ideally, we would capture this. But the reference is
|
||||
// illegal, and not capturing this is consistent with
|
||||
|
||||
@ -3,8 +3,8 @@ var b: boolean;
|
||||
>b : boolean
|
||||
|
||||
var v = {
|
||||
>v : { [x: string]: number; [x: number]: any; [true]: number; }
|
||||
>{ [b]: 0, [true]: 1, [[]]: 0, [{}]: 0, [undefined]: undefined, [null]: null} : { [x: string]: number; [x: number]: null; [true]: number; }
|
||||
>v : { [x: number]: any; }
|
||||
>{ [b]: 0, [true]: 1, [[]]: 0, [{}]: 0, [undefined]: undefined, [null]: null} : { [x: number]: null; }
|
||||
|
||||
[b]: 0,
|
||||
>[b] : number
|
||||
|
||||
@ -3,8 +3,8 @@ var b: boolean;
|
||||
>b : boolean
|
||||
|
||||
var v = {
|
||||
>v : { [x: string]: number; [x: number]: any; [true]: number; }
|
||||
>{ [b]: 0, [true]: 1, [[]]: 0, [{}]: 0, [undefined]: undefined, [null]: null} : { [x: string]: number; [x: number]: null; [true]: number; }
|
||||
>v : { [x: number]: any; }
|
||||
>{ [b]: 0, [true]: 1, [[]]: 0, [{}]: 0, [undefined]: undefined, [null]: null} : { [x: number]: null; }
|
||||
|
||||
[b]: 0,
|
||||
>[b] : number
|
||||
|
||||
@ -19,8 +19,8 @@ function f(x): any { }
|
||||
>x : any
|
||||
|
||||
var v = {
|
||||
>v : { [x: string]: number; [x: number]: number; [f(true)]: number; }
|
||||
>{ [f("")]: 0, [f(0)]: 0, [f(true)]: 0} : { [x: string]: number; [x: number]: number; [f(true)]: number; }
|
||||
>v : { [x: string]: number; [x: number]: number; }
|
||||
>{ [f("")]: 0, [f(0)]: 0, [f(true)]: 0} : { [x: string]: number; [x: number]: number; }
|
||||
|
||||
[f("")]: 0,
|
||||
>[f("")] : number
|
||||
|
||||
@ -19,8 +19,8 @@ function f(x): any { }
|
||||
>x : any
|
||||
|
||||
var v = {
|
||||
>v : { [x: string]: number; [x: number]: number; [f(true)]: number; }
|
||||
>{ [f("")]: 0, [f(0)]: 0, [f(true)]: 0} : { [x: string]: number; [x: number]: number; [f(true)]: number; }
|
||||
>v : { [x: string]: number; [x: number]: number; }
|
||||
>{ [f("")]: 0, [f(0)]: 0, [f(true)]: 0} : { [x: string]: number; [x: number]: number; }
|
||||
|
||||
[f("")]: 0,
|
||||
>[f("")] : number
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
=== tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName41.ts ===
|
||||
var v = {
|
||||
>v : { [x: string]: boolean; }
|
||||
>{ [0 in []]: true} : { [x: string]: boolean; }
|
||||
>v : {}
|
||||
>{ [0 in []]: true} : {}
|
||||
|
||||
[0 in []]: true
|
||||
>[0 in []] : boolean
|
||||
|
||||
@ -4,8 +4,8 @@ var s = Symbol;
|
||||
>Symbol : SymbolConstructor
|
||||
|
||||
var x = {
|
||||
>x : { [x: string]: number | (() => void); }
|
||||
>{ [s]: 0, [s]() { }, get [s]() { return 0; }} : { [x: string]: number | (() => void); }
|
||||
>x : {}
|
||||
>{ [s]: 0, [s]() { }, get [s]() { return 0; }} : {}
|
||||
|
||||
[s]: 0,
|
||||
>[s] : number
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user