lib/dry/schema/predicate_inferrer.rb in dry-schema-0.4.0 vs lib/dry/schema/predicate_inferrer.rb in dry-schema-0.5.0
- old
+ new
@@ -105,9 +105,14 @@
# @api private
def visit_constrained(node)
other, * = node
visit(other)
end
+
+ # @api private
+ def visit_any(_)
+ nil
+ end
end
# @!attribute [r] compiler
# @return [Compiler]
# @api private