class RBS::RecursiveAliasDefinitionError
def initialize(type:, defs:)
def initialize(type:, defs:) @type = type @defs = defs super "#{Location.to_string location}: Recursive aliases in #{type}: #{defs.map(&:name).join(", ")}" end
def location
def location first_def = defs.first or raise original = first_def.original or raise original.location end