class RBS::RecursiveTypeAliasError

Attributes

alias_names[R]
location[R]

Public Class Methods

new(alias_names:, location:) click to toggle source
Calls superclass method
# File rbs-2.7.0/lib/rbs/errors.rb, line 425
def initialize(alias_names:, location:)
  @alias_names = alias_names
  @location = location

  super "#{Location.to_string location}: Recursive type alias definition found for: #{name}"
end

Public Instance Methods

name() click to toggle source
# File rbs-2.7.0/lib/rbs/errors.rb, line 432
def name
  @alias_names.map(&:name).join(', ')
end