class RBS::RecursiveAliasDefinitionError
属性
defs[R]
type[R]
公共类方法
new(type:, defs:) 点击切换源代码
调用父类方法
# File rbs-3.8.0/lib/rbs/errors.rb, line 429 def initialize(type:, defs:) @type = type @defs = defs super "#{Location.to_string location}: Recursive aliases in #{type}: #{defs.map(&:name).join(", ")}" end
公共实例方法
location() 点击切换源代码
# File rbs-3.8.0/lib/rbs/errors.rb, line 436 def location first_def = defs.first or raise original = first_def.original or raise original.location end