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-3.2.1/lib/rbs/errors.rb, line 480
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-3.2.1/lib/rbs/errors.rb, line 487
def name
  @alias_names.map(&:name).join(', ')
end