Skip to content

Commit f61efe5

Browse files
committed
Accept new baselines
1 parent 8a1456f commit f61efe5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/baselines/reference/forwardRefInEnum.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ var E1;
1919
(function (E1) {
2020
// illegal case
2121
// forward reference to the element of the same enum
22-
E1[E1["X"] = E1.Y] = "X";
23-
E1[E1["X1"] = E1["Y"]] = "X1";
22+
E1[E1["X"] = 0] = "X";
23+
E1[E1["X1"] = 0] = "X1";
2424
// forward reference to the element of the same enum
25-
E1[E1["Y"] = E1.Z] = "Y";
26-
E1[E1["Y1"] = E1["Z"]] = "Y1";
25+
E1[E1["Y"] = 0] = "Y";
26+
E1[E1["Y1"] = 0] = "Y1";
2727
})(E1 || (E1 = {}));
2828
(function (E1) {
2929
E1[E1["Z"] = 4] = "Z";

0 commit comments

Comments
 (0)