File: unionTypeWithRecursiveSubtypeReduction3.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (19 lines) | stat: -rw-r--r-- 939 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
=== tests/cases/compiler/unionTypeWithRecursiveSubtypeReduction3.ts ===
var a27: { prop: number } | { prop: T27 };
>a27 : Symbol(a27, Decl(unionTypeWithRecursiveSubtypeReduction3.ts, 0, 3))
>prop : Symbol(prop, Decl(unionTypeWithRecursiveSubtypeReduction3.ts, 0, 10))
>prop : Symbol(prop, Decl(unionTypeWithRecursiveSubtypeReduction3.ts, 0, 29))
>T27 : Symbol(T27, Decl(unionTypeWithRecursiveSubtypeReduction3.ts, 0, 42))

type T27 = typeof a27;
>T27 : Symbol(T27, Decl(unionTypeWithRecursiveSubtypeReduction3.ts, 0, 42))
>a27 : Symbol(a27, Decl(unionTypeWithRecursiveSubtypeReduction3.ts, 0, 3))

var b: T27;
>b : Symbol(b, Decl(unionTypeWithRecursiveSubtypeReduction3.ts, 3, 3))
>T27 : Symbol(T27, Decl(unionTypeWithRecursiveSubtypeReduction3.ts, 0, 42))

var s: string = b;
>s : Symbol(s, Decl(unionTypeWithRecursiveSubtypeReduction3.ts, 4, 3))
>b : Symbol(b, Decl(unionTypeWithRecursiveSubtypeReduction3.ts, 3, 3))