Commit aba9c8e
repl: fix overzealous top-level await
Fixes: #43777
PR-URL: #43827
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent ec7e45e commit aba9c8eCopy full SHA for aba9c8e
File tree
Expand file treeCollapse file tree
4 files changed
+35
-19
lines changedOpen diff view settings
Filter options
- lib
- internal/repl
- test/parallel
Expand file treeCollapse file tree
4 files changed
+35
-19
lines changedOpen diff view settings
Collapse file
+10-2Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
237 | 237 | |
238 | 238 | |
239 | 239 | |
240 | | - |
241 | | - |
| 240 | + |
| 241 | + |
| 242 | + |
| 243 | + |
| 244 | + |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | + |
| 249 | + |
242 | 250 | |
243 | 251 | |
244 | 252 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
616 | 616 | |
617 | 617 | |
618 | 618 | |
619 | | - |
| 619 | + |
620 | 620 | |
621 | 621 | |
622 | 622 | |
|
Collapse file
test/parallel/test-repl-preprocess-top-level-await.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-preprocess-top-level-await.js+20-16Lines changed: 20 additions & 16 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | | - |
| 20 | + |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | | - |
| 24 | + |
25 | 25 | |
26 | | - |
| 26 | + |
27 | 27 | |
28 | | - |
| 28 | + |
29 | 29 | |
30 | | - |
| 30 | + |
31 | 31 | |
32 | | - |
| 32 | + |
33 | 33 | |
34 | | - |
| 34 | + |
35 | 35 | |
36 | | - |
| 36 | + |
37 | 37 | |
38 | | - |
| 38 | + |
39 | 39 | |
40 | 40 | |
41 | 41 | |
| ||
45 | 45 | |
46 | 46 | |
47 | 47 | |
48 | | - |
| 48 | + |
49 | 49 | |
50 | 50 | |
51 | 51 | |
| ||
71 | 71 | |
72 | 72 | |
73 | 73 | |
74 | | - |
| 74 | + |
75 | 75 | |
76 | 76 | |
77 | 77 | |
| ||
92 | 92 | |
93 | 93 | |
94 | 94 | |
95 | | - |
96 | | - |
| 95 | + |
| 96 | + |
97 | 97 | |
98 | 98 | |
99 | 99 | |
100 | 100 | |
101 | 101 | |
102 | | - |
103 | | - |
| 102 | + |
| 103 | + |
104 | 104 | |
105 | 105 | |
106 | 106 | |
| ||
140 | 140 | |
141 | 141 | |
142 | 142 | |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
143 | 147 | |
144 | 148 | |
145 | 149 | |
|
Collapse file
test/parallel/test-repl-top-level-await.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-top-level-await.js+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
182 | 182 | |
183 | 183 | |
184 | 184 | |
| 185 | + |
| 186 | + |
| 187 | + |
| 188 | + |
185 | 189 | |
186 | 190 | |
187 | 191 | |
|
0 commit comments