15 lines
505 B
Text
15 lines
505 B
Text
=== tests/cases/compiler/nestedModulePrivateAccess.ts ===
|
|
module a{
|
|
>a : typeof a, Symbol(a,Decl(nestedModulePrivateAccess.ts,0,0))
|
|
|
|
var x:number;
|
|
>x : number, Symbol(x,Decl(nestedModulePrivateAccess.ts,1,10))
|
|
|
|
module b{
|
|
>b : typeof b, Symbol(b,Decl(nestedModulePrivateAccess.ts,1,20))
|
|
|
|
var y = x; // should not be an error
|
|
>y : number, Symbol(y,Decl(nestedModulePrivateAccess.ts,3,18))
|
|
>x : number, Symbol(x,Decl(nestedModulePrivateAccess.ts,1,10))
|
|
}
|
|
}
|