File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
javascript/ql/lib/semmle/javascript/internal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,9 +136,9 @@ module TypeResolution {
136
136
target = cls .getConstructor ( ) .getBody ( )
137
137
)
138
138
or
139
- valueHasType ( call .( InvokeExpr ) . getCallee ( ) , trackFunctionValue ( target ) )
139
+ valueHasType ( call .getCallee ( ) , trackFunctionValue ( target ) )
140
140
or
141
- valueHasType ( call .( InvokeExpr ) . getCallee ( ) , trackFunctionType ( target ) ) and
141
+ valueHasType ( call .getCallee ( ) , trackFunctionType ( target ) ) and
142
142
(
143
143
call instanceof NewExpr and
144
144
target = any ( ConstructorTypeExpr t ) .getFunction ( )
@@ -148,7 +148,7 @@ module TypeResolution {
148
148
)
149
149
or
150
150
exists ( InterfaceDefinition interface , CallSignature sig |
151
- valueHasType ( call .( InvokeExpr ) . getCallee ( ) , trackType ( interface ) ) and
151
+ valueHasType ( call .getCallee ( ) , trackType ( interface ) ) and
152
152
sig = interface .getACallSignature ( ) and
153
153
target = sig .getBody ( )
154
154
|
You can’t perform that action at this time.
0 commit comments