Re-add with modifier with constraint

Fixes `no_args` in DSL.
This commit is contained in:
Michael Miller 2022-07-12 10:56:49 -06:00
parent 694e2e6259
commit 00c7141d95
No known key found for this signature in database
GPG key ID: 32B47AE8F388A1FF

View file

@ -11,5 +11,11 @@ module Spectator
constraint = Arguments.new(args, kwargs).as(AbstractArguments)
self.with_constraint(constraint)
end
# :ditto:
@[AlwaysInline]
def with(constraint : AbstractArguments)
with_constraint(constraint)
end
end
end