class RBS::SuperclassMismatchError
def initialize(name:, entry:)
def initialize(name:, entry:) @name = name @entry = entry super "#{Location.to_string entry.primary.decl.location}: Superclass mismatch: #{name}" end
def initialize(name:, entry:) @name = name @entry = entry super "#{Location.to_string entry.primary.decl.location}: Superclass mismatch: #{name}" end