Accept new baselines

This commit is contained in:
Anders Hejlsberg 2016-05-23 13:08:23 -07:00
parent b8e9ecfb1a
commit 10d331ee9f
9 changed files with 22 additions and 22 deletions

View File

@ -4,7 +4,7 @@ let cond: boolean;
>cond : boolean
function ff() {
>ff : () => never
>ff : () => void
let x: string | undefined;
>x : string | undefined

View File

@ -7,7 +7,7 @@ while (true) {
>true : boolean
function f() {
>f : () => never
>f : () => void
target:
>target : any

View File

@ -16,7 +16,7 @@ for (var x = <number>undefined; ;) { }
// new declaration space, making redeclaring x as a string valid
function declSpace() {
>declSpace : () => never
>declSpace : () => void
for (var x = 'this is a string'; ;) { }
>x : string

View File

@ -42,7 +42,7 @@ function isB(x: any): x is B {
}
function f1(x: A | B) {
>f1 : (x: A | B) => never
>f1 : (x: A | B) => void
>x : A | B
>A : A
>B : B
@ -78,7 +78,7 @@ function f1(x: A | B) {
}
function f2(x: A | B) {
>f2 : (x: A | B) => never
>f2 : (x: A | B) => void
>x : A | B
>A : A
>B : B

View File

@ -1,6 +1,6 @@
=== tests/cases/compiler/nestedBlockScopedBindings3.ts ===
function a0() {
>a0 : () => never
>a0 : () => void
{
for (let x = 0; x < 1; ) {
>x : number
@ -26,7 +26,7 @@ function a0() {
}
function a1() {
>a1 : () => never
>a1 : () => void
for (let x; x < 1;) {
>x : any
@ -48,7 +48,7 @@ function a1() {
}
function a2() {
>a2 : () => never
>a2 : () => void
for (let x; x < 1;) {
>x : any

View File

@ -1,6 +1,6 @@
=== tests/cases/compiler/nestedBlockScopedBindings4.ts ===
function a0() {
>a0 : () => never
>a0 : () => void
for (let x; x < 1;) {
>x : any
@ -28,7 +28,7 @@ function a0() {
}
function a1() {
>a1 : () => never
>a1 : () => void
for (let x; x < 1;) {
>x : any
@ -60,7 +60,7 @@ function a1() {
}
function a2() {
>a2 : () => never
>a2 : () => void
for (let x; x < 1;) {
>x : any
@ -93,7 +93,7 @@ function a2() {
function a3() {
>a3 : () => never
>a3 : () => void
for (let x; x < 1;) {
>x : any

View File

@ -1,6 +1,6 @@
=== tests/cases/compiler/nestedBlockScopedBindings6.ts ===
function a0() {
>a0 : () => never
>a0 : () => void
for (let x of [1]) {
>x : number
@ -27,7 +27,7 @@ function a0() {
}
function a1() {
>a1 : () => never
>a1 : () => void
for (let x of [1]) {
>x : number
@ -58,7 +58,7 @@ function a1() {
}
function a2() {
>a2 : () => never
>a2 : () => void
for (let x of [1]) {
>x : number
@ -89,7 +89,7 @@ function a2() {
}
function a3() {
>a3 : () => never
>a3 : () => void
for (let x of [1]) {
>x : number

View File

@ -7,7 +7,7 @@ while (true) {
>true : boolean
function f() {
>f : () => never
>f : () => void
target:
>target : any

View File

@ -1,7 +1,7 @@
=== tests/cases/conformance/statements/throwStatements/throwInEnclosingStatements.ts ===
function fn(x) {
>fn : (x: any) => never
>fn : (x: any) => void
>x : any
throw x;
@ -78,7 +78,7 @@ class C<T> {
>T : T
biz() {
>biz : () => never
>biz : () => void
throw this.value;
>this.value : T
@ -93,15 +93,15 @@ class C<T> {
}
var aa = {
>aa : { id: number; biz(): never; }
>{ id:12, biz() { throw this; }} : { id: number; biz(): never; }
>aa : { id: number; biz(): void; }
>{ id:12, biz() { throw this; }} : { id: number; biz(): void; }
id:12,
>id : number
>12 : number
biz() {
>biz : () => never
>biz : () => void
throw this;
>this : any