When a statement in a switch case body doesn't produce a result (e.g. a variable declaration), we were incorrectly resetting the completion value to undefined. This caused the completion value of preceding expression statements to be lost. |
||
|---|---|---|
| .. | ||
| expected | ||
| input | ||
| output | ||