Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
voltrevo committed Jul 6, 2023
1 parent 9000487 commit 6c18165
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inputs/passing/switch/evalOrder.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
//! test_output(["c1","c2","default"])

export default function foo() {
export default function () {
let logs = [];

switch (0) {
case logs.push("c1"):
break;

default:
logs.push("default");
break;

case logs.push("c2"):
break;
}
Expand Down

0 comments on commit 6c18165

Please sign in to comment.