Aria

A low-level systems programming language
git clone git://git.m21c.me/Aria.git
Log | Files | Refs | README | LICENSE

commit 69f14f3c2c98a9d030af519a8f0f1cadf88227a0
parent a1777e8ef1f5a3d8041e7c916cb56e1d8f0db9f7
Author: m21c <ho*******@gmail.com>
Date:   Tue, 23 Jun 2026 23:26:02 +0200

read param declaration: fixed param of named type

Diffstat:
Mcompiler.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler.c b/compiler.c @@ -4022,7 +4022,7 @@ exprlist(Source *source, bool isparam, Type *paramtype) /* tail = todeclaration(tail, &paramtype); */ if (paramtype && getkind(source) == IDENT) { - lhs = declaration(source, paramtype, false); + lhs = declaration(source, paramtype, true); } else { lhs = readexpr(source, PASSIGN); }