From 7eabc9358be224e96361e772e2c34c7606b1a3c7 Mon Sep 17 00:00:00 2001 From: Adam Fraser Date: Tue, 12 Dec 2023 15:05:15 -0800 Subject: [PATCH] fix version specific issue --- zio-query/shared/src/main/scala/zio/query/ZQuery.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zio-query/shared/src/main/scala/zio/query/ZQuery.scala b/zio-query/shared/src/main/scala/zio/query/ZQuery.scala index 131a69f6..af2e63bd 100644 --- a/zio-query/shared/src/main/scala/zio/query/ZQuery.scala +++ b/zio-query/shared/src/main/scala/zio/query/ZQuery.scala @@ -1097,10 +1097,10 @@ object ZQuery { var blockedRequests: BlockedRequests[R] = BlockedRequests.empty val doneBuilder: Builder[B, Collection[B]] = bf.newBuilder(as) val doneIndicesBuilder: ChunkBuilder[Int] = new ChunkBuilder.Int - val effectBuilder: ChunkBuilder[ZQuery[R, E, B]] = ChunkBuilder.make + val effectBuilder: ChunkBuilder[ZQuery[R, E, B]] = ChunkBuilder.make[ZQuery[R, E, B]]() val effectIndicesBuilder: ChunkBuilder[Int] = new ChunkBuilder.Int - val failBuilder: ChunkBuilder[Cause[E]] = ChunkBuilder.make - val getBuilder: ChunkBuilder[IO[E, B]] = ChunkBuilder.make + val failBuilder: ChunkBuilder[Cause[E]] = ChunkBuilder.make[Cause[E]]() + val getBuilder: ChunkBuilder[IO[E, B]] = ChunkBuilder.make[IO[E, B]]() val getIndicesBuilder: ChunkBuilder[Int] = new ChunkBuilder.Int var index: Int = 0 val iterator: Iterator[A] = as.iterator