I am getting a compile time error that myFunc reference is ambiguous.
func f (s: String) -> String { return \"version 1: \" + s } func f(sourceString s: S
I don't think you can. You can call one or the other:
println(f("test")) // version 1: test println(f(sourceString: "test")) // version 2: test