Fix Top::getAFieldOrChild() so it doesn't take an index arg

Co-authored-by: Arthur Baars <aibaars@github.com>
This commit is contained in:
Nick Rolfe
2020-10-28 11:02:42 +00:00
committed by GitHub
parent ce8de3feba
commit 17820e017c

View File

@@ -124,10 +124,7 @@ fn create_top_class() -> ql::Class {
"getAFieldOrChild",
false,
Some(ql::Type::Normal("Top".to_owned())),
vec![ql::FormalParameter {
name: "i".to_owned(),
r#type: ql::Type::Int,
}],
vec![],
);
ql::Class {
name: "Top".to_owned(),