-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JS: QL-side type/name resolution for TypeScript and JSDoc #19078
base: main
Are you sure you want to change the base?
Conversation
cee75ae
to
fa3e5ed
Compare
} | ||
|
||
/** Helps track flow from a particular set of source nodes. */ | ||
module Track<nodeSig/1 isSource> { |
Check warning
Code scanning / CodeQL
Dead code Warning
target = cls.getConstructor().getBody() | ||
) | ||
or | ||
valueHasType(call.(InvokeExpr).getCallee(), trackFunctionValue(target)) |
Check warning
Code scanning / CodeQL
Redundant cast Warning
InvokeExpr
or | ||
valueHasType(call.(InvokeExpr).getCallee(), trackFunctionValue(target)) | ||
or | ||
valueHasType(call.(InvokeExpr).getCallee(), trackFunctionType(target)) and |
Check warning
Code scanning / CodeQL
Redundant cast Warning
InvokeExpr
) | ||
or | ||
exists(InterfaceDefinition interface, CallSignature sig | | ||
valueHasType(call.(InvokeExpr).getCallee(), trackType(interface)) and |
Check warning
Code scanning / CodeQL
Redundant cast Warning
InvokeExpr
a625992
to
c8dbe53
Compare
Some changes that I backed out caused a bad join in this code, but I'd like to keep the fix.
This reverts commit 385e663.
fe9b23d
to
c07cc6e
Compare
No description provided.