dgsuarez / reruby

Refactor Ruby
MIT License
35 stars 2 forks source link

Absolute module references don't work as expected #1

Closed dgsuarez closed 7 years ago

dgsuarez commented 7 years ago

The following case illustrates the issue

class A

  module A; end

  module B
    def to_s
      ::A # This is resolved to be ::A::A, not ::A
    end
  end
end
dgsuarez commented 7 years ago

Solved