Merge pull request #6731 from odin-lang/bill/expand-values-operator

Support `**` as `expand_values` operator: `**x` == `expand_values(x)`
This commit is contained in:
gingerBill
2026-06-05 11:42:08 +01:00
committed by GitHub
9 changed files with 101 additions and 41 deletions

View File

@@ -3474,6 +3474,7 @@ gb_internal Ast *parse_unary_expr(AstFile *f, bool lhs) {
case Token_Xor:
case Token_And:
case Token_Not:
case Token_MulMul: // 'expand_values' operator
case Token_Mul: // Used for error handling when people do C-like things
{
Token token = advance_token(f);