We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d4c38b commit ace8b09Copy full SHA for ace8b09
javascript/ql/lib/semmle/javascript/frameworks/ClassValidator.qll
@@ -50,7 +50,7 @@ module ClassValidator {
50
51
pragma[noinline]
52
private ClassDefinition getClassReferencedByPropRead(DataFlow::PropRead read) {
53
- read.getBase().asExpr().getType().unfold().(ClassType).getClass() = result
+ read.getBase().asExpr().getTypeBinding().getAnUnderlyingClass().getAstNode() = result
54
}
55
56
/**
0 commit comments