Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assigning an Rx of tuple to multiple vars fails #244

Open
busti opened this issue Sep 20, 2022 · 0 comments
Open

Assigning an Rx of tuple to multiple vars fails #244

busti opened this issue Sep 20, 2022 · 0 comments

Comments

@busti
Copy link
Contributor

busti commented Sep 20, 2022

The following code fails using the macro.

val myRx: Rx[(Int, Int, Int)] = ???

Rx {
  val (x, y, z) = myRx() // No implicit LiveOwner is available here! Wrap inside `Rx { <code> }`, or provide an implicit `LiveOwner`.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant