Skip to content

Commit

Permalink
chore: self mutation (e2e-2of2.diff)
Browse files Browse the repository at this point in the history
Signed-off-by: monada-bot[bot] <[email protected]>
  • Loading branch information
monadabot committed Apr 7, 2024
1 parent c7330a4 commit 621e316
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tools/hangar/__snapshots__/invalid.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2712,6 +2712,18 @@ exports[`missing_return.test.w 1`] = `
| \\\\-^ A function whose return type is \\"str\\" must return a value.


error: A function whose return type is \\"str\\" must return a value.
--> ../../../examples/tests/invalid/missing_return.test.w:28:32
|
28 | let returnString3 = (): str => {
| /--------------------------------^
29 | | let x = (): str => {
30 | | return \\"what?\\"; // This should be ignored and we should produce a missing return error
31 | | };
32 | | };
| \\\\-^ A function whose return type is \\"str\\" must return a value.




Tests 1 failed (1)
Expand Down

0 comments on commit 621e316

Please sign in to comment.