16 lines
251 B
Plaintext
16 lines
251 B
Plaintext
=== 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
|
|
}
|
|
}
|