dry-rb / dry-logic

Predicate logic with rule composition
https://dry-rb.org/gems/dry-logic/
MIT License
179 stars 66 forks source link

Change arity of binary op constructor #85

Closed flash-gordon closed 3 years ago

flash-gordon commented 3 years ago

This doesn't really change much but fixes a subtle issue with jruby found in https://github.com/dry-rb/dry-schema/pull/348 It's hard to say whether it's a bug in jruby because it's an intersection of undef :respond_to?, BasicObject and implicit coercion to keywords. Keywords situation will improve over time so I think jruby shouldn't bother fixing this particular case.