2014-07-13 01:04:16 +02:00
|
|
|
//// [nestedModulePrivateAccess.ts]
|
|
|
|
module a{
|
|
|
|
var x:number;
|
|
|
|
module b{
|
|
|
|
var y = x; // should not be an error
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [nestedModulePrivateAccess.js]
|
|
|
|
var a;
|
|
|
|
(function (a) {
|
|
|
|
var x;
|
|
|
|
var b;
|
|
|
|
(function (b) {
|
2014-08-15 22:18:54 +02:00
|
|
|
var y = x; // should not be an error
|
2014-07-13 01:04:16 +02:00
|
|
|
})(b || (b = {}));
|
|
|
|
})(a || (a = {}));
|