class RBS::GenericParameterMismatchError
Attributes
decl
[R]
decl
Public Class Methods
(name: TypeName, decl: decl, ?location: Location) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/errors.rb, line 411 def initialize(name:, decl:, location: nil) @name = name @decl = decl location ||= decl.location super "#{Location.to_string location}: Generic parameters mismatch: #{name}" end
Calls superclass method
Exception::new