fn a(x: ~str) -> ~str {
#fmt("First function with %s", x)
}
fn a(x: ~str, y: ~str) -> ~str {
#fmt("Second function with %s and %s", x, y)
}
fn main() {
#info("Result: ");
}
Compiles with a recent rust master (899400c) (but using a(x: ~str) does not compile)