mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
27 lines
389 B
TypeScript
27 lines
389 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() {
|
|
|
|
}
|