-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add stmt info declare symbol for resolution found symbol (#91)
- Loading branch information
Showing
6 changed files
with
71 additions
and
17 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const abc = undefined |
30 changes: 30 additions & 0 deletions
30
crates/rolldown/tests/fixtures/reexport_star/artifacts.snap
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,30 @@ | ||
--- | ||
source: crates/rolldown/tests/common/case.rs | ||
expression: content | ||
input_file: crates/rolldown/tests/fixtures/reexport_star | ||
--- | ||
# 2.js | ||
|
||
```js | ||
// a.js | ||
var a_ns = { | ||
get abc() { return abc } | ||
}; | ||
const abc = undefined | ||
``` | ||
# entry.js | ||
|
||
```js | ||
// entry.js | ||
export { a_ns as a }; | ||
``` | ||
# main.js | ||
|
||
```js | ||
// main.js | ||
export { a_ns as a }; | ||
``` |
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 @@ | ||
export * as a from './a' |
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 @@ | ||
export * as a from './a' |
14 changes: 14 additions & 0 deletions
14
crates/rolldown/tests/fixtures/reexport_star/test.config.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,14 @@ | ||
{ | ||
"input": { | ||
"input": [ | ||
{ | ||
"name": "main", | ||
"import": "main.js" | ||
}, | ||
{ | ||
"name": "entry", | ||
"import": "entry.js" | ||
} | ||
] | ||
} | ||
} |