Skip to content

Investigate problem in ZIO's promise #10808

Closed
@odersky

Description

@odersky

In Promise.scala in core/shared/src/main/scala/zio we get on error in the following line:

final class Promise[E, A] private (private val state: AtomicReference[State[E, A]], blockingOn: List[Fiber.Id])

We have to change State[E, A] to Promise.internal.State[E, A] to make it pass. This since the new scheme for
constructor proxies #10784. We should find out the cause and see whether we can address it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions