mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
JS: Remove unnecessary override in OriginalExportDeclaration
This commit is contained in:
@@ -838,10 +838,4 @@ class SelectiveReExportDeclaration extends ReExportDeclaration, ExportNamedDecla
|
|||||||
*/
|
*/
|
||||||
class OriginalExportDeclaration extends ExportDeclaration {
|
class OriginalExportDeclaration extends ExportDeclaration {
|
||||||
OriginalExportDeclaration() { not this instanceof ReExportDeclaration }
|
OriginalExportDeclaration() { not this instanceof ReExportDeclaration }
|
||||||
|
|
||||||
overlay[global]
|
|
||||||
override DataFlow::Node getSourceNode(string name) {
|
|
||||||
result = this.(ExportDefaultDeclaration).getSourceNode(name) or
|
|
||||||
result = this.(ExportNamedDeclaration).getSourceNode(name)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user