Commit 732443e3 authored by Luca Bruno's avatar Luca Bruno

Use accept_children in DataType

Fixes bug 566870.
parent 5f1b860c
......@@ -106,13 +106,15 @@ public abstract class Vala.DataType : CodeNode {
}
public override void accept (CodeVisitor visitor) {
visitor.visit_data_type (this);
}
public override void accept_children (CodeVisitor visitor) {
if (type_argument_list != null && type_argument_list.size > 0) {
foreach (DataType type_arg in type_argument_list) {
type_arg.accept (visitor);
}
}
visitor.visit_data_type (this);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment