In Files

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

Methods

Class/Module Index [+]

Quicksearch

RBS::RecursiveTypeAliasError

Attributes

alias_names[R]
location[R]

Public Class Methods

new(alias_names:, location:) click to toggle source
 
               # File rbs-2.1.0/lib/rbs/errors.rb, line 423
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.1.0/lib/rbs/errors.rb, line 430
def name
  @alias_names.map(&:name).join(', ')
end