'multiple assignment' in a let section fails
zevv opened this issue · comments
import cps
type
C = ref object of Continuation
proc bar(): (int, int) {.cps:C.}=
return (1, 2)
proc foo() {.cps:C.} =
let (a, b) = bar()
var c = whelp foo()
discard trampoline(c)
/tmp/t.nim(12, 3) Error: let or var section must contain an IdentDefs, got:
"let (a, b) = bar()"