From 51332558bfe597306181b68eb40f2cbdb62a64be Mon Sep 17 00:00:00 2001 From: "monada-bot[bot]" Date: Tue, 9 Apr 2024 06:31:46 +0000 Subject: [PATCH] chore: self mutation (e2e-2of2.diff) Signed-off-by: monada-bot[bot] --- tools/hangar/__snapshots__/invalid.ts.snap | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tools/hangar/__snapshots__/invalid.ts.snap b/tools/hangar/__snapshots__/invalid.ts.snap index 72cf9c4ddd0..9c92d39e477 100644 --- a/tools/hangar/__snapshots__/invalid.ts.snap +++ b/tools/hangar/__snapshots__/invalid.ts.snap @@ -2724,6 +2724,20 @@ error: A function whose return type is \\"str\\" must return a value. | \\\\-^ 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:36:32 + | +36 | let returnString4 = (): str => { + | /--------------------------------^ +37 | | class Foo { +38 | | pub static blah(): num { +39 | | return 5; +40 | | } +41 | | } +42 | | }; + | \\\\-^ A function whose return type is \\"str\\" must return a value. + + Tests 1 failed (1)