29 lines
811 B
Text
29 lines
811 B
Text
=== tests/cases/compiler/widenedTypes1.ts ===
|
|
var a = null;
|
|
>a : Symbol(a, Decl(widenedTypes1.ts, 0, 3))
|
|
|
|
var b = undefined;
|
|
>b : Symbol(b, Decl(widenedTypes1.ts, 1, 3))
|
|
>undefined : Symbol(undefined)
|
|
|
|
var c = {x: null};
|
|
>c : Symbol(c, Decl(widenedTypes1.ts, 3, 3))
|
|
>x : Symbol(x, Decl(widenedTypes1.ts, 3, 9))
|
|
|
|
var d = [{x: null}];
|
|
>d : Symbol(d, Decl(widenedTypes1.ts, 4, 3))
|
|
>x : Symbol(x, Decl(widenedTypes1.ts, 4, 10))
|
|
|
|
var f = [null, null];
|
|
>f : Symbol(f, Decl(widenedTypes1.ts, 5, 3))
|
|
|
|
var g = [undefined, undefined];
|
|
>g : Symbol(g, Decl(widenedTypes1.ts, 6, 3))
|
|
>undefined : Symbol(undefined)
|
|
>undefined : Symbol(undefined)
|
|
|
|
var h = [{x: undefined}];
|
|
>h : Symbol(h, Decl(widenedTypes1.ts, 7, 3))
|
|
>x : Symbol(x, Decl(widenedTypes1.ts, 7, 10))
|
|
>undefined : Symbol(undefined)
|
|
|