You can declare identical functions, with the first one apparently taking charge:


fun void g(int i) {
<<< "fddf" >>>;
}

fun void g(int i) {
<<< "fdfd" >>>;
}

g(3);


I have a feeling this is old news, but I can't recall this specific issue being mentioned. It doesn't feel right. It's the same if the functions are inside classes. Could it have something to do with enabling cross-shred referencing?

Cheers,

Stefan
--
Release me, insect, or I will destroy the Cosmos!