tanishiking / scala-wasm

Experimental WasmGC backend for Scala.js | merging into the upstream Scala.js repo https://github.com/scala-js/scala-js/pull/4988
41 stars 3 forks source link

try..finally does not intercept `Return`s to enclosing `Labeled` blocks. #101

Closed sjrd closed 7 months ago

sjrd commented 7 months ago

Follow-up to #88. https://github.com/tanishiking/scala-wasm/blob/254e6c524f0e08e9e182aef8c15a3d1841319d6c/build.sbt#L248-L249

This one is tough. It will require some additional infrastructure to how we handle Labeled blocks and their Returns.