From 077cfa3e35330ec982c0b4c9047c0956d04d1103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Wed, 14 May 2025 17:57:22 +0200 Subject: Parse shell statement parameters in arbitrary order --- src/Parser/Expr.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Parser/Expr.hs') diff --git a/src/Parser/Expr.hs b/src/Parser/Expr.hs index 3700602..079cfba 100644 --- a/src/Parser/Expr.hs +++ b/src/Parser/Expr.hs @@ -394,7 +394,7 @@ checkFunctionArguments (FunctionArguments argTypes) poff kw sexpr@(SomeExpr expr Nothing -> do registerParseError $ FancyError poff $ S.singleton $ ErrorFail $ T.unpack $ case kw of - Just (ArgumentKeyword tkw) -> "unexpected parameter with keyword `" <> tkw <> "'" + Just (ArgumentKeyword tkw) -> "unexpected parameter with keyword ‘" <> tkw <> "’" Nothing -> "unexpected parameter" return sexpr -- cgit v1.2.3