Skip to content

Commit 2fa4424

Browse files
authored
QL: Remove SuperAccess::getType()
This had a bad effect on our call resolution, so I'm reverting it for now. We may want to diverge from the language specification here.
1 parent 4c4a265 commit 2fa4424

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

ql/src/codeql_ql/ast/Ast.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1661,8 +1661,6 @@ class ThisAccess extends Identifier {
16611661
class Super extends TSuper, Expr {
16621662
Super() { this = TSuper(_) }
16631663

1664-
override Type getType() { result = this.getParent+().(Class).getType() }
1665-
16661664
override string getAPrimaryQlClass() { result = "SuperAccess" }
16671665
}
16681666

0 commit comments

Comments
 (0)