class RBS::NonregularTypeAliasError

属性

diagnostic[R]
location[R]

公共类方法

new(diagnostic:, location:) 点击切换源代码
调用超类方法
# File rbs-3.8.0/lib/rbs/errors.rb, line 506
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