RBS::DefinitionError
# File rbs-1.4.0/lib/rbs/errors.rb, line 340 def initialize(type:, defs:) @type = type @defs = defs super "#{Location.to_string location}: Recursive aliases in #{type}: #{defs.map(&:name).join(", ")}" end
# File rbs-1.4.0/lib/rbs/errors.rb, line 347 def location first_def = defs.first or raise original = first_def.original or raise original.location end
This page was generated for Ruby 3.0.4
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.42.0.