Skip to content
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

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

asgerf
Copy link
Contributor

@asgerf asgerf commented Mar 20, 2025

No description provided.

@github-actions github-actions bot added the JS label Mar 20, 2025
@asgerf asgerf force-pushed the js/name-resolution branch from cee75ae to fa3e5ed Compare March 20, 2025 15:31
}

/** Helps track flow from a particular set of source nodes. */
module Track<nodeSig/1 isSource> {

Check warning

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.
target = cls.getConstructor().getBody()
)
or
valueHasType(call.(InvokeExpr).getCallee(), trackFunctionValue(target))

Check warning

Code scanning / CodeQL

Redundant cast Warning

Redundant cast to
InvokeExpr
.
or
valueHasType(call.(InvokeExpr).getCallee(), trackFunctionValue(target))
or
valueHasType(call.(InvokeExpr).getCallee(), trackFunctionType(target)) and

Check warning

Code scanning / CodeQL

Redundant cast Warning

Redundant cast to
InvokeExpr
.
)
or
exists(InterfaceDefinition interface, CallSignature sig |
valueHasType(call.(InvokeExpr).getCallee(), trackType(interface)) and

Check warning

Code scanning / CodeQL

Redundant cast Warning

Redundant cast to
InvokeExpr
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant