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:
Michael Miller 2019-11-03 14:49:10 -07:00
parent 82e01e44de
commit e3b9cef221

View file

@ -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