lib/steep/errors.rb in steep-0.4.0 vs lib/steep/errors.rb in steep-0.5.0

- old
+ new

@@ -331,9 +331,22 @@ def to_s "#{location_to_str}: UnexpectedSuper: method=#{method}" end end + class IncompatibleZuper < Base + attr_reader :method + + def initialize(node:, method:) + super(node: node) + @method = method + end + + def to_s + "#{location_to_str}: IncompatibleZuper: method=#{method}" + end + end + class MethodDefinitionMissing < Base attr_reader :module_name attr_reader :kind attr_reader :missing_method