Skip to content

Commit ea5d9cc

Browse files
authoredApr 11, 2024··
test(es): Update conformance test suite from tsc (#8834)
1 parent b103184 commit ea5d9cc

File tree

278 files changed

+22323
-10197
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

278 files changed

+22323
-10197
lines changed
 

‎crates/swc/tests/tsc-references/ES3For-ofTypeCheck1.1.normal.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ try {
99
_iteratorError = err;
1010
} finally{
1111
try {
12-
if (!_iteratorNormalCompletion && _iterator["return"] != null) {
13-
_iterator["return"]();
12+
if (!_iteratorNormalCompletion && _iterator.return != null) {
13+
_iterator.return();
1414
}
1515
} finally{
1616
if (_didIteratorError) {

‎crates/swc/tests/tsc-references/ES3For-ofTypeCheck4.1.normal.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ try {
1010
_iteratorError = err;
1111
} finally{
1212
try {
13-
if (!_iteratorNormalCompletion && _iterator["return"] != null) {
14-
_iterator["return"]();
13+
if (!_iteratorNormalCompletion && _iterator.return != null) {
14+
_iterator.return();
1515
}
1616
} finally{
1717
if (_didIteratorError) {

0 commit comments

Comments
 (0)
Please sign in to comment.