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