15 lines
261 B
Plaintext
15 lines
261 B
Plaintext
|
=== tests/cases/compiler/compoundVarDecl1.ts ===
|
||
|
module Foo { var a = 1, b = 1; a = b + 2; }
|
||
|
>Foo : typeof Foo
|
||
|
>a : number
|
||
|
>b : number
|
||
|
>a = b + 2 : number
|
||
|
>a : number
|
||
|
>b + 2 : number
|
||
|
>b : number
|
||
|
|
||
|
var foo = 4, bar = 5;
|
||
|
>foo : number
|
||
|
>bar : number
|
||
|
|