class RBS::SuperclassMismatchError

属性

entry[R]
name[R]

公共类方法

new(name:, entry:) 点击切换源代码
调用父类方法
# File rbs-3.8.0/lib/rbs/errors.rb, line 347
def initialize(name:, entry:)
  @name = name
  @entry = entry
  super "#{Location.to_string entry.primary.decl.location}: Superclass mismatch: #{name}"
end