17 lines
322 B
Text
17 lines
322 B
Text
=== tests/cases/compiler/moduleVariableArrayIndexer.ts ===
|
|
module Bar {
|
|
>Bar : typeof Bar
|
|
|
|
export var a = 1;
|
|
>a : number
|
|
>1 : number
|
|
|
|
var t = undefined[a][a]; // CG: var t = undefined[Bar.a][a];
|
|
>t : any
|
|
>undefined[a][a] : any
|
|
>undefined[a] : any
|
|
>undefined : undefined
|
|
>a : number
|
|
>a : number
|
|
}
|
|
|