colibri icon indicating copy to clipboard operation
colibri copied to clipboard

Assigning an Rx of tuple to multiple vars fails

Open busti opened this issue 1 year ago • 0 comments

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`.
}

busti avatar Sep 20 '22 10:09 busti