mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Fix Top::getAFieldOrChild() so it doesn't take an index arg
Co-authored-by: Arthur Baars <aibaars@github.com>
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user