From db12d8b867bddc914e7991f85ed0e306a670a520 Mon Sep 17 00:00:00 2001 From: JR-Mitchell <8377714+JR-Mitchell@users.noreply.github.com> Date: Sat, 14 Dec 2024 18:30:03 +0000 Subject: [PATCH] fix(spec): adds missing argument in function in syntax_errors_spec --- spec/lang/parser/syntax_errors_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lang/parser/syntax_errors_spec.lua b/spec/lang/parser/syntax_errors_spec.lua index aa81590e..35c1a069 100644 --- a/spec/lang/parser/syntax_errors_spec.lua +++ b/spec/lang/parser/syntax_errors_spec.lua @@ -96,7 +96,7 @@ describe("syntax errors", function() })) it("doesn't support function calls on new lines", util.check_syntax_error([=[ - local function test(): function() + local function test(a: string): function() end test