TypeScript/tests/cases/conformance/functions/functionNameConflicts.ts
2014-07-12 17:30:19 -07:00

27 lines
415 B
TypeScript

//Function and variable of the same name in same declaration space
//Function overload with different name from implementation signature
module M {
function fn1() { }
var fn1;
var fn2;
function fn2() { }
}
function fn3() { }
var fn3;
function func() {
var fn4;
function fn4() { }
function fn5() { }
var fn5;
}
function over();
function overrr() {
}