class RBS::SuperclassMismatchError

Attributes

entry[R]
name[R]

Public Class Methods

new(name:, entry:) click to toggle source
Calls superclass method
# File rbs-3.4.4/lib/rbs/errors.rb, line 339
def initialize(name:, entry:)
  @name = name
  @entry = entry
  super "#{Location.to_string entry.primary.decl.location}: Superclass mismatch: #{name}"
end