In Files

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

Methods

Class/Module Index [+]

Quicksearch

RBS::CyclicTypeParameterBound

Attributes

location[R]
method_name[R]
params[R]
type_name[R]

Public Class Methods

new(type_name:, method_name:, params:, location:) click to toggle source
 
               # File rbs-2.1.0/lib/rbs/errors.rb, line 450
def initialize(type_name,, method_name,, params,, location))
  @type_name = type_name
  @method_name = method_name
  @params = params
  @location = location

  super "#{Location.to_string(location)}: Cyclic type parameter bound is prohibited"
end
            
There is an updated format of the API docs for this version here.