mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
JS: Quantify of ValueProperty instead of Property
This commit is contained in:
@@ -224,7 +224,7 @@ class ClassExpr extends @classexpr, ClassDefinition, Expr {
|
||||
(
|
||||
exists(VarDef vd | this = vd.getSource() | result = vd.getTarget().(VarRef).getName())
|
||||
or
|
||||
exists(Property p |
|
||||
exists(ValueProperty p |
|
||||
this = p.getInit() and
|
||||
result = p.getName()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user