mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
520 B
Plaintext
15 lines
520 B
Plaintext
//// [tests/cases/compiler/compoundVarDecl1.ts] ////
|
|
|
|
=== compoundVarDecl1.ts ===
|
|
namespace Foo { var a = 1, b = 1; a = b + 2; }
|
|
>Foo : Symbol(Foo, Decl(compoundVarDecl1.ts, 0, 0))
|
|
>a : Symbol(a, Decl(compoundVarDecl1.ts, 0, 19))
|
|
>b : Symbol(b, Decl(compoundVarDecl1.ts, 0, 26))
|
|
>a : Symbol(a, Decl(compoundVarDecl1.ts, 0, 19))
|
|
>b : Symbol(b, Decl(compoundVarDecl1.ts, 0, 26))
|
|
|
|
var foo = 4, bar = 5;
|
|
>foo : Symbol(foo, Decl(compoundVarDecl1.ts, 2, 3))
|
|
>bar : Symbol(bar, Decl(compoundVarDecl1.ts, 2, 12))
|
|
|