16 lines
251 B
Text
16 lines
251 B
Text
|
=== tests/cases/compiler/nestedModulePrivateAccess.ts ===
|
||
|
module a{
|
||
|
>a : typeof a
|
||
|
|
||
|
var x:number;
|
||
|
>x : number
|
||
|
|
||
|
module b{
|
||
|
>b : typeof b
|
||
|
|
||
|
var y = x; // should not be an error
|
||
|
>y : number
|
||
|
>x : number
|
||
|
}
|
||
|
}
|