In Files

  • rbs-2.1.0/lib/rbs/errors.rb

Methods

Class/Module Index [+]

Quicksearch

RBS::SuperclassMismatchError

Attributes

entry[R]
name[R]

Public Class Methods

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