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.
This commit is contained in:
Taus
2021-06-19 12:17:17 +00:00
committed by GitHub
parent b9238ea436
commit 6bff0f48a2

View File

@@ -1661,8 +1661,6 @@ class ThisAccess extends Identifier {
class Super extends TSuper, Expr {
Super() { this = TSuper(_) }
override Type getType() { result = this.getParent+().(Class).getType() }
override string getAPrimaryQlClass() { result = "SuperAccess" }
}