func _decodeNext()

in Sources/_CollectionsTestSupport/MinimalTypes/MinimalDecoder.swift [413:425]


  func _decodeNext<T>(_ type: T.Type) throws -> Value {
    expectTrue(isValid, "Container isn't valid", trapping: true)
    commitPendingContainer()
    guard index < input.count else {
      let context = DecodingError.Context(
        codingPath: codingPath + [_Key(index)],
        debugDescription: "Unkeyed container is at end")
        throw DecodingError.valueNotFound(T.self, context)
    }
    let value = input[index]
    index += 1
    return value
  }