lib/dry/schema/predicate_inferrer.rb in dry-schema-1.8.0 vs lib/dry/schema/predicate_inferrer.rb in dry-schema-1.9.0
- old
+ new
@@ -7,9 +7,11 @@
# @api private
class PredicateInferrer < ::Dry::Types::PredicateInferrer
Compiler = ::Class.new(superclass::Compiler)
def initialize(registry = PredicateRegistry.new)
+ super
+
@compiler = Compiler.new(registry)
end
end
end
end