lib/bindata/dsl.rb in bindata-2.3.5 vs lib/bindata/dsl.rb in bindata-2.4.0

- old
+ new

@@ -105,14 +105,10 @@ @hide end end def fields - @fields ||= begin - SanitizedFields.new(hints).tap do |san_fields| - san_fields.copy_fields(parent_fields) if parent_fields - end - end + @fields ||= SanitizedFields.new(hints, parent_fields) end def dsl_params abilities = parser_abilities[@parser_type] send(abilities.at(0), abilities.at(1))