From 5368287d5f0b689cfaf7d033fc1717e9b6acdbc4 Mon Sep 17 00:00:00 2001 From: Andrey Pfau Date: Tue, 5 Dec 2023 18:18:22 +0700 Subject: [PATCH] fix legacy test --- crypto/func/parse-func.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/func/parse-func.cpp b/crypto/func/parse-func.cpp index 2f97701e..8c4d16f3 100644 --- a/crypto/func/parse-func.cpp +++ b/crypto/func/parse-func.cpp @@ -905,7 +905,7 @@ Expr* parse_expr14(Lexer& lex, CodeBlob& code, bool nv) { check_global_func(lex.cur(), name); SrcLocation loc{lex.cur().loc}; lex.next(); - auto x = parse_expr15(lex, code, false); + auto x = parse_expr14(lex, code, false); x->chk_rvalue(lex.cur()); res = new Expr{Expr::_Apply, name, {res, x}}; res->here = loc;