Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear scope cache before crawling (#2986)
- Loading branch information
1 parent
897cb1c
commit f3990f3
Showing
5 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
...re/integration-tests/test/integration/scope-hoisting/es6/default-export-class-rename/a.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import Test from './b'; | ||
output = Test.create(); |
9 changes: 9 additions & 0 deletions
9
...re/integration-tests/test/integration/scope-hoisting/es6/default-export-class-rename/b.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export default class Test { | ||
constructor() { | ||
this.foo = 'bar'; | ||
} | ||
|
||
static create() { | ||
return new Test(); | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
...ration-tests/test/integration/scope-hoisting/es6/default-export-class-rename/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "default-export-class-rename", | ||
"private": true, | ||
"browserslist": ["last 1 Chrome version"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters