The recent change to run the interpreter and planner on separate goroutines created the need to perform rendezvous-style synchronization between them. Although the case of an invoked function properly tore down the synchronization by communicating the error, we seldom directly invoke functions for JavaScript programs because the way module entrypoint code ends up in initializers. This requires that we propagate errors correctly out of module and class initializers, in the standard way, so that the unwind makes its way to the top. This fixes pulumi/lumi#246. |
||
---|---|---|
.. | ||
lumi | ||
lumidl | ||
lumijs | ||
lumipy |