Skip to content

Commit

Permalink
Updates after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Sep 25, 2023
1 parent 828fac4 commit a5ef4e3
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ class A {
#x;
method() {
var _obj, _obj2, _obj3, _obj4, _obj5, _obj6;
(_obj = obj) == null ? void 0 : _obj.#x = 1;
(_obj2 = obj) == null ? void 0 : _obj2.#x += 2;
(_obj3 = obj) == null ? void 0 : _obj3.#x ??= 3;
(_obj4 = obj) == null ? void 0 : _obj4.#x.y = 4;
(_obj5 = obj) == null ? void 0 : _obj5.#x.y += 5;
(_obj6 = obj) == null ? void 0 : _obj6.#x.y ??= 6;
(_obj = obj) == null || (_obj.#x = 1);
(_obj2 = obj) == null || (_obj2.#x += 2);
(_obj3 = obj) == null || (_obj3.#x ??= 3);
(_obj4 = obj) == null || (_obj4.#x.y = 4);
(_obj5 = obj) == null || (_obj5.#x.y += 5);
(_obj6 = obj) == null || (_obj6.#x.y ??= 6);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ class A {
#x;
method() {
var _obj, _obj2, _obj3, _obj4, _obj5, _obj6;
(_obj = obj) === null || _obj === void 0 ? void 0 : _obj.#x = 1;
(_obj2 = obj) === null || _obj2 === void 0 ? void 0 : _obj2.#x += 2;
(_obj3 = obj) === null || _obj3 === void 0 ? void 0 : _obj3.#x ??= 3;
(_obj4 = obj) === null || _obj4 === void 0 ? void 0 : _obj4.#x.y = 4;
(_obj5 = obj) === null || _obj5 === void 0 ? void 0 : _obj5.#x.y += 5;
(_obj6 = obj) === null || _obj6 === void 0 ? void 0 : _obj6.#x.y ??= 6;
(_obj = obj) === null || _obj === void 0 || (_obj.#x = 1);
(_obj2 = obj) === null || _obj2 === void 0 || (_obj2.#x += 2);
(_obj3 = obj) === null || _obj3 === void 0 || (_obj3.#x ??= 3);
(_obj4 = obj) === null || _obj4 === void 0 || (_obj4.#x.y = 4);
(_obj5 = obj) === null || _obj5 === void 0 || (_obj5.#x.y += 5);
(_obj6 = obj) === null || _obj6 === void 0 || (_obj6.#x.y ??= 6);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function fn(obj) {
obj?.prop.x?.y = 2;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
function fn(obj) {
var _obj$prop$x;
obj === null || obj === void 0 || (_obj$prop$x = obj.prop.x) === null || _obj$prop$x === void 0 || (_obj$prop$x.y = 2);
}

0 comments on commit a5ef4e3

Please sign in to comment.