func nestedUnkeyedContainer()

in Sources/_CollectionsTestSupport/MinimalTypes/MinimalDecoder.swift [578:589]


  func nestedUnkeyedContainer() throws -> UnkeyedDecodingContainer {
    let key = _Key(index)
    let value = try _decodeNext([Value].self)
    guard case let .array(v) = value else {
      throw DecodingError._typeMismatch(at: codingPath + [key],
                                        expectation: [Value].self,
                                        reality: value)
    }
    let nested = MinimalDecoder.UnkeyedContainer(base: base, parent: parent, input: v, key: key)
    pendingContainer = nested
    return nested
  }