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