From 74b6d06711afd3efbbc47436f1491900994313f3 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Sat, 17 Oct 2026 06:54:32 +0000 Subject: feat(classes): allocate objects with NEW and rebind named class variables Co-Authored-By: Claude Opus 5.5 --- lib/Parser/Parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Parser/Parser.cc') diff --git a/lib/Parser/Parser.cc b/lib/Parser/Parser.cc index 26eeac6..d3b2daa 100644 --- a/lib/Parser/Parser.cc +++ b/lib/Parser/Parser.cc @@ -242,7 +242,7 @@ std::unique_ptr Parser::ParseAssignStmt() { return nullptr; } getNextToken(); - auto Expr = ParseExpression(); + auto Expr = ParseAssignmentRHS(); if (!Expr) return nullptr; if (Accesses.empty()) -- cgit v1.3.1-4-g156e