Remove type restriction
Not sure if this will blow up the type resolution, but seems to fix argument comparison from recorded calls.
This commit is contained in:
parent
82e01e44de
commit
e3b9cef221
|
@ -16,7 +16,7 @@ module Spectator::Mocks
|
|||
dispatcher.call(*@args, **@opts)
|
||||
end
|
||||
|
||||
def ===(other : GenericArguments(U, NU)) : Bool forall U, NU
|
||||
def ===(other) : Bool
|
||||
return false unless @args === other.args
|
||||
return false unless @opts.size === other.opts.size
|
||||
|
||||
|
|
Loading…
Reference in New Issue