In Files

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

Methods

Class/Module Index [+]

Quicksearch

RBS::NonregularTypeAliasError

Attributes

diagnostic[R]
location[R]

Public Class Methods

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

  super "#{Location.to_string location}: Nonregular generic type alias is prohibited: #{diagnostic.type_name}, #{diagnostic.nonregular_type}"
end
            
There is an updated format of the API docs for this version here.