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