We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20d2a65 commit 633a94bCopy full SHA for 633a94b
1 file changed
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