Example:
interface Foo {
fn main(public a: u32, b: u32);
fn main(public a: u32, b: u32) -> u32;
}
This compiles fine regardless of how the two functions are defined. We should error out on duplicate function name.
We should also check if this is an issue for other items in an interface.
Example:
interface Foo { fn main(public a: u32, b: u32); fn main(public a: u32, b: u32) -> u32; }This compiles fine regardless of how the two functions are defined. We should error out on duplicate function name.
We should also check if this is an issue for other items in an interface.