class RBS::CyclicClassAliasDefinitionError

属性

alias_entry[R]

公共类方法

new(entry) 点击以切换源代码
调用父类方法
# File rbs-3.8.0/lib/rbs/errors.rb, line 558
def initialize(entry)
  @alias_entry = entry

  super "#{Location.to_string(entry.decl.location&.[](:old_name))}: A #{alias_entry.decl.new_name} is a cyclic definition"
end

公共实例方法

location() 点击以切换源代码
# File rbs-3.8.0/lib/rbs/errors.rb, line 564
def location
  @alias_entry.decl.location
end