From: cassowarii Date: Fri, 10 Jul 2026 18:53:20 +0000 (-0700) Subject: fix <~ X-Git-Url: https://www.git.cassowary.me/gitweb.cgi?a=commitdiff_plain;h=a2047211f0e3de162d7fc75cb26b88b51f173e0e;p=sarabande.git fix <~ --- diff --git a/src/parse/parser.c b/src/parse/parser.c index b255e5a..79898aa 100644 --- a/src/parse/parser.c +++ b/src/parse/parser.c @@ -625,6 +625,7 @@ static sbAst parse_expr(hParser pr, u8 min_precedence) { } else if (op.type == T_BACKSQUIGARROW) { /* a <~ b, c, d can have multiple comma things on the right side */ if (!expect(pr, T_LPAREN)) return syntax_error(pr); + ast_type = AST_NODE_METHODCALL; rhs = parse_comma_exprs(pr, NULL); if (!expect(pr, T_RPAREN)) return syntax_error(pr); } else if (op.type == T_PAAMAYIM_NEKUDOTAYIM) {