aboutsummaryrefslogtreecommitdiff
path: root/boot/ast.cc
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-11-14 23:39:52 +0100
committerEugen Wissner <belka@caraus.de>2026-11-14 23:39:52 +0100
commit9b4b13e0d9030bb21c86eea6c4ba00bf4d91f0a0 (patch)
treedd1c8fa2336b098d6380e579125d01ac8711a3c6 /boot/ast.cc
parent7ab6e1021611cc6913ee4ab5faf1b31f928a65e9 (diff)
downloadelna-9b4b13e0d9030bb21c86eea6c4ba00bf4d91f0a0.tar.gz
Add arity check for generic parameters
Diffstat (limited to 'boot/ast.cc')
-rw-r--r--boot/ast.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/boot/ast.cc b/boot/ast.cc
index e712f16..b892d23 100644
--- a/boot/ast.cc
+++ b/boot/ast.cc
@@ -395,6 +395,10 @@ namespace elna::boot
void walking_visitor::visit(record_type_expression *expression)
{
+ for (type_expression *argument : expression->base_arguments)
+ {
+ argument->accept(this);
+ }
for (const field_declaration& field : expression->fields)
{
field.second->accept(this);