15 lines
251 B
Text
15 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
|
|
}
|
|
}
|