Accept new baselines

This commit is contained in:
Anders Hejlsberg
2018-04-17 16:29:49 -07:00
parent b11be80349
commit 02534cca31
3 changed files with 11 additions and 11 deletions

View File

@@ -402,8 +402,8 @@ const constInitToLReadonlyNestedTypeWithIndexedAccess: L["nested"]["readonlyNest
// type argument inference
const promiseForConstCall = Promise.resolve(constCall);
>promiseForConstCall : Promise<symbol>
>Promise.resolve(constCall) : Promise<symbol>
>promiseForConstCall : Promise<unique symbol>
>Promise.resolve(constCall) : Promise<unique symbol>
>Promise.resolve : { <T>(value: T | PromiseLike<T>): Promise<T>; (): Promise<void>; }
>Promise : PromiseConstructor
>resolve : { <T>(value: T | PromiseLike<T>): Promise<T>; (): Promise<void>; }
@@ -454,19 +454,19 @@ declare function g(x: typeof N.s): void;
// argument inference
f(s);
>f(s) : symbol
>f(s) : unique symbol
>f : <T>(x: T) => T
>s : unique symbol
f(N.s);
>f(N.s) : symbol
>f(N.s) : unique symbol
>f : <T>(x: T) => T
>N.s : unique symbol
>N : typeof N
>s : unique symbol
f(N["s"]);
>f(N["s"]) : symbol
>f(N["s"]) : unique symbol
>f : <T>(x: T) => T
>N["s"] : unique symbol
>N : typeof N

View File

@@ -482,7 +482,7 @@ declare const constInitToLReadonlyTypeWithTypeQuery: typeof l.readonlyType;
declare const constInitToLReadonlyNestedTypeWithTypeQuery: typeof l.nested.readonlyNestedType;
declare const constInitToLReadonlyTypeWithIndexedAccess: L["readonlyType"];
declare const constInitToLReadonlyNestedTypeWithIndexedAccess: L["nested"]["readonlyNestedType"];
declare const promiseForConstCall: Promise<symbol>;
declare const promiseForConstCall: Promise<typeof constCall>;
declare const arrayOfConstCall: symbol[];
declare const s: unique symbol;
declare namespace N {

View File

@@ -402,8 +402,8 @@ const constInitToLReadonlyNestedTypeWithIndexedAccess: L["nested"]["readonlyNest
// type argument inference
const promiseForConstCall = Promise.resolve(constCall);
>promiseForConstCall : Promise<symbol>
>Promise.resolve(constCall) : Promise<symbol>
>promiseForConstCall : Promise<unique symbol>
>Promise.resolve(constCall) : Promise<unique symbol>
>Promise.resolve : { <T>(value: T | PromiseLike<T>): Promise<T>; (): Promise<void>; }
>Promise : PromiseConstructor
>resolve : { <T>(value: T | PromiseLike<T>): Promise<T>; (): Promise<void>; }
@@ -454,19 +454,19 @@ declare function g(x: typeof N.s): void;
// argument inference
f(s);
>f(s) : symbol
>f(s) : unique symbol
>f : <T>(x: T) => T
>s : unique symbol
f(N.s);
>f(N.s) : symbol
>f(N.s) : unique symbol
>f : <T>(x: T) => T
>N.s : unique symbol
>N : typeof N
>s : unique symbol
f(N["s"]);
>f(N["s"]) : symbol
>f(N["s"]) : unique symbol
>f : <T>(x: T) => T
>N["s"] : unique symbol
>N : typeof N