mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
remove redundant inline casts in arguments where the type is inferred by the call target
This commit is contained in:
@@ -658,7 +658,7 @@ abstract class ReExportDeclaration extends ExportDeclaration {
|
||||
cached
|
||||
Module getReExportedModule() {
|
||||
Stages::Imports::ref() and
|
||||
result.getFile() = getEnclosingModule().resolve(getImportedPath().(PathExpr))
|
||||
result.getFile() = getEnclosingModule().resolve(getImportedPath())
|
||||
or
|
||||
result = resolveFromTypeRoot()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user