Commit 4c7844b
Implement export as namespace from (#34903)
* init export start as decl
* fix some broken
* fix more case
* fix more and more case
* make it work
* make lint happy and accept baseline
* add more tests
* fix system module
* add more case
* delete useless assert
* accept baseline
* make lint happy
* fix missing utils
* update api
* make lint happy
* add missing semi
* fix minor issue
* fix locally bound
* avoid useless check
* update public api
* add more case
* fix some case
* Use multi-module selection in test runner to cut down on duplication.
* Accepted baselines.
* remove superfluous tests.
* Remove baseline.
* Downlevel `export * as ns` in es2015.
* Accepted baselines.
* Update names of things.
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>1 parent 2f0d07c commit 4c7844b
File tree
129 files changed
+4734
-212
lines changed- src
- compiler
- transformers
- module
- services
- tests
- baselines/reference
- api
- cases/conformance/es2020/modules
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
129 files changed
+4734
-212
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
60 | 61 | | |
61 | | - | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
2575 | 2576 | | |
2576 | 2577 | | |
2577 | 2578 | | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
2578 | 2582 | | |
2579 | 2583 | | |
2580 | 2584 | | |
| |||
4111 | 4115 | | |
4112 | 4116 | | |
4113 | 4117 | | |
| 4118 | + | |
| 4119 | + | |
| 4120 | + | |
| 4121 | + | |
4114 | 4122 | | |
4115 | 4123 | | |
4116 | 4124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1551 | 1551 | | |
1552 | 1552 | | |
1553 | 1553 | | |
1554 | | - | |
| 1554 | + | |
1555 | 1555 | | |
1556 | 1556 | | |
1557 | 1557 | | |
| |||
2221 | 2221 | | |
2222 | 2222 | | |
2223 | 2223 | | |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
| 2228 | + | |
2224 | 2229 | | |
2225 | 2230 | | |
2226 | 2231 | | |
| |||
2386 | 2391 | | |
2387 | 2392 | | |
2388 | 2393 | | |
| 2394 | + | |
| 2395 | + | |
2389 | 2396 | | |
2390 | 2397 | | |
2391 | 2398 | | |
| |||
5081 | 5088 | | |
5082 | 5089 | | |
5083 | 5090 | | |
5084 | | - | |
| 5091 | + | |
5085 | 5092 | | |
5086 | 5093 | | |
5087 | 5094 | | |
5088 | 5095 | | |
5089 | 5096 | | |
5090 | | - | |
| 5097 | + | |
5091 | 5098 | | |
5092 | 5099 | | |
5093 | 5100 | | |
5094 | 5101 | | |
5095 | | - | |
| 5102 | + | |
5096 | 5103 | | |
5097 | 5104 | | |
5098 | 5105 | | |
| |||
5104 | 5111 | | |
5105 | 5112 | | |
5106 | 5113 | | |
5107 | | - | |
| 5114 | + | |
5108 | 5115 | | |
5109 | 5116 | | |
5110 | 5117 | | |
| |||
5118 | 5125 | | |
5119 | 5126 | | |
5120 | 5127 | | |
5121 | | - | |
5122 | | - | |
| 5128 | + | |
| 5129 | + | |
5123 | 5130 | | |
5124 | 5131 | | |
5125 | 5132 | | |
| |||
5137 | 5144 | | |
5138 | 5145 | | |
5139 | 5146 | | |
5140 | | - | |
| 5147 | + | |
5141 | 5148 | | |
5142 | 5149 | | |
5143 | 5150 | | |
| |||
5653 | 5660 | | |
5654 | 5661 | | |
5655 | 5662 | | |
| 5663 | + | |
| 5664 | + | |
| 5665 | + | |
| 5666 | + | |
| 5667 | + | |
| 5668 | + | |
| 5669 | + | |
| 5670 | + | |
5656 | 5671 | | |
5657 | 5672 | | |
5658 | 5673 | | |
| |||
32608 | 32623 | | |
32609 | 32624 | | |
32610 | 32625 | | |
32611 | | - | |
| 32626 | + | |
32612 | 32627 | | |
32613 | 32628 | | |
32614 | 32629 | | |
| |||
32727 | 32742 | | |
32728 | 32743 | | |
32729 | 32744 | | |
32730 | | - | |
| 32745 | + | |
| 32746 | + | |
| 32747 | + | |
| 32748 | + | |
| 32749 | + | |
| 32750 | + | |
32731 | 32751 | | |
32732 | 32752 | | |
32733 | 32753 | | |
| |||
34157 | 34177 | | |
34158 | 34178 | | |
34159 | 34179 | | |
34160 | | - | |
| 34180 | + | |
| 34181 | + | |
| 34182 | + | |
| 34183 | + | |
34161 | 34184 | | |
34162 | 34185 | | |
34163 | 34186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1435 | 1435 | | |
1436 | 1436 | | |
1437 | 1437 | | |
| 1438 | + | |
| 1439 | + | |
1438 | 1440 | | |
1439 | 1441 | | |
1440 | 1442 | | |
| |||
3104 | 3106 | | |
3105 | 3107 | | |
3106 | 3108 | | |
| 3109 | + | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
| 3116 | + | |
3107 | 3117 | | |
3108 | 3118 | | |
3109 | 3119 | | |
| |||
4408 | 4418 | | |
4409 | 4419 | | |
4410 | 4420 | | |
| 4421 | + | |
| 4422 | + | |
| 4423 | + | |
4411 | 4424 | | |
4412 | 4425 | | |
4413 | 4426 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2278 | 2278 | | |
2279 | 2279 | | |
2280 | 2280 | | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
2281 | 2287 | | |
2282 | 2288 | | |
2283 | 2289 | | |
2284 | 2290 | | |
2285 | 2291 | | |
2286 | 2292 | | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
2287 | 2299 | | |
2288 | 2300 | | |
2289 | 2301 | | |
| |||
2327 | 2339 | | |
2328 | 2340 | | |
2329 | 2341 | | |
2330 | | - | |
| 2342 | + | |
2331 | 2343 | | |
2332 | 2344 | | |
2333 | 2345 | | |
| |||
2340 | 2352 | | |
2341 | 2353 | | |
2342 | 2354 | | |
2343 | | - | |
| 2355 | + | |
2344 | 2356 | | |
2345 | 2357 | | |
2346 | 2358 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| 393 | + | |
| 394 | + | |
393 | 395 | | |
394 | 396 | | |
395 | 397 | | |
| |||
6470 | 6472 | | |
6471 | 6473 | | |
6472 | 6474 | | |
| 6475 | + | |
| 6476 | + | |
| 6477 | + | |
| 6478 | + | |
| 6479 | + | |
| 6480 | + | |
6473 | 6481 | | |
6474 | 6482 | | |
6475 | 6483 | | |
| 6484 | + | |
| 6485 | + | |
| 6486 | + | |
6476 | 6487 | | |
6477 | 6488 | | |
6478 | 6489 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Lines changed: 39 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
57 | 95 | | |
58 | 96 | | |
59 | 97 | | |
| |||
0 commit comments