fn collect_gaps( properties: &[ObjectProperty<'_>], gaps: &mut PriorGaps, ) -> Result<(), CodecError>