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 {
136136 target = cls .getConstructor ( ) .getBody ( )
137137 )
138138 or
139- valueHasType ( call .( InvokeExpr ) . getCallee ( ) , trackFunctionValue ( target ) )
139+ valueHasType ( call .getCallee ( ) , trackFunctionValue ( target ) )
140140 or
141- valueHasType ( call .( InvokeExpr ) . getCallee ( ) , trackFunctionType ( target ) ) and
141+ valueHasType ( call .getCallee ( ) , trackFunctionType ( target ) ) and
142142 (
143143 call instanceof NewExpr and
144144 target = any ( ConstructorTypeExpr t ) .getFunction ( )
@@ -148,7 +148,7 @@ module TypeResolution {
148148 )
149149 or
150150 exists ( InterfaceDefinition interface , CallSignature sig |
151- valueHasType ( call .( InvokeExpr ) . getCallee ( ) , trackType ( interface ) ) and
151+ valueHasType ( call .getCallee ( ) , trackType ( interface ) ) and
152152 sig = interface .getACallSignature ( ) and
153153 target = sig .getBody ( )
154154 |
You can’t perform that action at this time.
0 commit comments