报告实参的推断类型与形参的预期类型不匹配的方法和 yield 调用。 预期的形参类型取自其中任意一种:

示例:

# @param [Integer] param
def method(param) end

method([1, 2])