Skip to content

Commit 94566e5

Browse files
committed
JS: Remove unnecessary override in OriginalExportDeclaration
1 parent 3a393ec commit 94566e5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

javascript/ql/lib/semmle/javascript/ES2015Modules.qll

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -838,10 +838,4 @@ class SelectiveReExportDeclaration extends ReExportDeclaration, ExportNamedDecla
838838
*/
839839
class OriginalExportDeclaration extends ExportDeclaration {
840840
OriginalExportDeclaration() { not this instanceof ReExportDeclaration }
841-
842-
overlay[global]
843-
override DataFlow::Node getSourceNode(string name) {
844-
result = this.(ExportDefaultDeclaration).getSourceNode(name) or
845-
result = this.(ExportNamedDeclaration).getSourceNode(name)
846-
}
847841
}

0 commit comments

Comments
 (0)