TypeScript/tests/cases/compiler/collisionCodeGenModuleWithFunctionChildren.ts
2014-07-12 17:30:19 -07:00

19 lines
254 B
TypeScript

module M {
export var x = 3;
function fn(M, p = x) { }
}
module M {
function fn2() {
var M;
var p = x;
}
}
module M {
function fn3() {
function M() {
var p = x;
}
}
}