class RBS::DuplicatedInterfaceMethodDefinitionError

An interface mixin causes a duplication of a method definition

interface _Foo1
  def foo: () -> void
end

interface _Foo2
  def foo: () -> void
end

class Foo
  include _Foo1
  include _Foo2    # <= The error will be reported here (or the line of _Foo1)
end