module M def f end def g f(2) h(2, a: 'a') h(2, a: :a) end module N def f M::foo h end module A::B def k end end def g end end end module K end f(2) h(2, a: 'a') h(2, a: :a)