rbs icon indicating copy to clipboard operation
rbs copied to clipboard

Can't find module alias defined in module

Open pocke opened this issue 11 months ago • 0 comments

RBS unexpectedly does not resolve the following module name.

module M
  module N
  end

  module N2 = N
end

module M::N3 = M::N

class C
  include M::N     # ok
  include M::N2    # It causes `Could not find mixin: M::N2 (RBS::NoMixinFoundError)`
  include M::N3    # ok
end

I expect RBS to resolve all module names, but it raises an error on M::N2.

pocke avatar Feb 25 '25 08:02 pocke