Skip to content

Commit

Permalink
Update test refs
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Oct 28, 2022
1 parent 1dafd9c commit b9a599b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
@@ -1,2 +1,2 @@
//// [logicalAssignment1.ts]
a && (a = "foo"), b || (b = "foo"), c = "foo", d && (d = 42), e || (e = 42), f = 42, g && (g = 42), h || (h = 42), i = 42;
a && (a = "foo"), b || (b = "foo"), c ?? (c = "foo"), d && (d = 42), e || (e = 42), f ?? (f = 42), g && (g = 42), h || (h = 42), i ?? (i = 42);
@@ -1,5 +1,5 @@
//// [logicalAssignment10.ts]
var _obj, _ref, _ref1, _ref2, count = 0, obj = {};
(_obj = obj)[_ref = ++count], _obj[_ref] = ++count, (_ref1 = ({
(_obj = obj)[_ref = ++count] ?? (_obj[_ref] = ++count), (_ref1 = ({
obj
}).obj)[_ref2 = ++count], _ref1[_ref2] = ++count;
}).obj)[_ref2 = ++count] ?? (_ref1[_ref2] = ++count);
@@ -1,3 +1,3 @@
//// [logicalAssignment11.ts]
let x;
(x ?? "x").length, (x ?? "x").length;
let x, d, e;
d ?? (d = x ?? "x"), d.length, e ?? (e = x ?? "x"), e.length;
@@ -1,3 +1,3 @@
//// [logicalAssignment11.ts]
let x, e;
(x ?? "x").length, (e ??= x ?? "x").length;
let x, d, e;
d ?? (d = x ?? "x"), d.length, (e ??= x ?? "x").length;

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

@@ -1,3 +1,3 @@
//// [logicalAssignment3.ts]
var _a, _b, _c;
(_a = a).baz && (_a.baz = result.baz), (_b = b).baz || (_b.baz = result.baz), (_c = c).baz, _c.baz = result.baz;
(_a = a).baz && (_a.baz = result.baz), (_b = b).baz || (_b.baz = result.baz), (_c = c).baz ?? (_c.baz = result.baz);

0 comments on commit b9a599b

Please sign in to comment.