Files
tsgo/testdata/baselines/reference/submodule/conformance/stringLiteralsWithSwitchStatements02.symbols

46 lines
1.7 KiB
Plaintext

//// [tests/cases/conformance/types/literal/stringLiteralsWithSwitchStatements02.ts] ////
=== stringLiteralsWithSwitchStatements02.ts ===
declare let x: "foo";
>x : Symbol(x, Decl(stringLiteralsWithSwitchStatements02.ts, 0, 11))
declare let y: "foo" | "bar";
>y : Symbol(y, Decl(stringLiteralsWithSwitchStatements02.ts, 1, 11))
let b: boolean;
>b : Symbol(b, Decl(stringLiteralsWithSwitchStatements02.ts, 3, 3))
b = x == y;
>b : Symbol(b, Decl(stringLiteralsWithSwitchStatements02.ts, 3, 3))
>x : Symbol(x, Decl(stringLiteralsWithSwitchStatements02.ts, 0, 11))
>y : Symbol(y, Decl(stringLiteralsWithSwitchStatements02.ts, 1, 11))
b = "foo" == y
>b : Symbol(b, Decl(stringLiteralsWithSwitchStatements02.ts, 3, 3))
>y : Symbol(y, Decl(stringLiteralsWithSwitchStatements02.ts, 1, 11))
b = y == "foo";
>b : Symbol(b, Decl(stringLiteralsWithSwitchStatements02.ts, 3, 3))
>y : Symbol(y, Decl(stringLiteralsWithSwitchStatements02.ts, 1, 11))
b = "foo" == "bar";
>b : Symbol(b, Decl(stringLiteralsWithSwitchStatements02.ts, 3, 3))
b = x != y;
>b : Symbol(b, Decl(stringLiteralsWithSwitchStatements02.ts, 3, 3))
>x : Symbol(x, Decl(stringLiteralsWithSwitchStatements02.ts, 0, 11))
>y : Symbol(y, Decl(stringLiteralsWithSwitchStatements02.ts, 1, 11))
b = "foo" != y
>b : Symbol(b, Decl(stringLiteralsWithSwitchStatements02.ts, 3, 3))
>y : Symbol(y, Decl(stringLiteralsWithSwitchStatements02.ts, 1, 11))
b = y != "foo";
>b : Symbol(b, Decl(stringLiteralsWithSwitchStatements02.ts, 3, 3))
>y : Symbol(y, Decl(stringLiteralsWithSwitchStatements02.ts, 1, 11))
b = "foo" != "bar";
>b : Symbol(b, Decl(stringLiteralsWithSwitchStatements02.ts, 3, 3))