mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue