@rokee extension methods are static methods in the bytecode and they are dispatched statically. If you have two extension methods with the same name but different receiver type, then
null.method()
will be ambiguous unless you can import the methods separately (note that stdlib methods are mostly imported implicitly) .