mirror of
https://github.com/github/codeql.git
synced 2026-05-05 21:55:19 +02:00
Revert "Merge pull request #897 from Semmle/revert-817-closure-modules"
This reverts commit95185345fd, reversing changes made tob8be66ec48.
This commit is contained in:
@@ -310,6 +310,7 @@ scopes(#20112,3)
|
||||
scopenodes(#20001,#20112)
|
||||
scopenesting(#20112,#20000)
|
||||
isModule(#20001)
|
||||
isES2015Module(#20001)
|
||||
#20113=@"var;{fun};{#20112}"
|
||||
variables(#20113,"fun",#20112)
|
||||
#20114=@"var;{Class};{#20112}"
|
||||
|
||||
@@ -154,6 +154,7 @@ scopes(#20055,3)
|
||||
scopenodes(#20001,#20055)
|
||||
scopenesting(#20055,#20000)
|
||||
isModule(#20001)
|
||||
isES2015Module(#20001)
|
||||
#20056=@"var;{f};{#20055}"
|
||||
variables(#20056,"f",#20055)
|
||||
#20057=@"var;{foo};{#20055}"
|
||||
|
||||
@@ -50,6 +50,7 @@ scopes(#20015,3)
|
||||
scopenodes(#20001,#20015)
|
||||
scopenesting(#20015,#20000)
|
||||
isModule(#20001)
|
||||
isES2015Module(#20001)
|
||||
#20016=*
|
||||
stmts(#20016,29,#20001,0,"export default 42;")
|
||||
hasLocation(#20016,#20003)
|
||||
|
||||
@@ -96,6 +96,7 @@ scopes(#20033,3)
|
||||
scopenodes(#20001,#20033)
|
||||
scopenesting(#20033,#20000)
|
||||
isModule(#20001)
|
||||
isES2015Module(#20001)
|
||||
#20034=*
|
||||
stmts(#20034,30,#20001,0,"export ... foo();")
|
||||
hasLocation(#20034,#20003)
|
||||
|
||||
@@ -50,6 +50,7 @@ scopes(#20015,3)
|
||||
scopenodes(#20001,#20015)
|
||||
scopenesting(#20015,#20000)
|
||||
isModule(#20001)
|
||||
isES2015Module(#20001)
|
||||
#20016=*
|
||||
stmts(#20016,33,#20001,0,"export = 42;")
|
||||
hasLocation(#20016,#20003)
|
||||
|
||||
@@ -117,6 +117,7 @@ scopes(#20041,3)
|
||||
scopenodes(#20001,#20041)
|
||||
scopenesting(#20041,#20000)
|
||||
isModule(#20001)
|
||||
isES2015Module(#20001)
|
||||
#20042=@"var;{Something};{#20041}"
|
||||
variables(#20042,"Something",#20041)
|
||||
#20043=@"var;{importExport};{#20041}"
|
||||
|
||||
@@ -70,6 +70,7 @@ scopes(#20023,3)
|
||||
scopenodes(#20001,#20023)
|
||||
scopenesting(#20023,#20000)
|
||||
isModule(#20001)
|
||||
isES2015Module(#20001)
|
||||
#20024=@"var;{x};{#20023}"
|
||||
variables(#20024,"x",#20023)
|
||||
#20025=@"local_type_name;{x};{#20023}"
|
||||
|
||||
Reference in New Issue
Block a user