aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/optional-chain-with-function.debug.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-12-30 21:12:32 -0800
committerGravatar GitHub <noreply@github.com> 2021-12-30 21:12:32 -0800
commite75c711c68896f5952793601f156c921c814caab (patch)
treef3b30e2281c7231d480bb84503d17b2370866ff9 /integration/snapshots/optional-chain-with-function.debug.js
parent8d031f13c0e04629d431176e211a31224b7618c0 (diff)
downloadbun-e75c711c68896f5952793601f156c921c814caab.tar.gz
bun-e75c711c68896f5952793601f156c921c814caab.tar.zst
bun-e75c711c68896f5952793601f156c921c814caab.zip
Upgrade to latest Zig, remove dependency on patched version of Zig (#96)
* Prepare to upgrade zig * zig fmt * AllocGate * Update data_url.zig * wip * few files * just headers now? * I think everything works? * Update mimalloc * Update hash_map.zig * Perf improvements to compensate for Allocgate * Bump * :camera: * Update bun.lockb * Less branching * [js parser] Slightly reduce memory usage * Update js_parser.zig * WIP remove unused * [JS parser] WIP support for `with` keyword * Remove more dead code * Fix all the build errors! * cleanup * Move `network_thread` up * Bump peechy * Update README.md
Diffstat (limited to 'integration/snapshots/optional-chain-with-function.debug.js')
-rw-r--r--integration/snapshots/optional-chain-with-function.debug.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/integration/snapshots/optional-chain-with-function.debug.js b/integration/snapshots/optional-chain-with-function.debug.js
index bf007b0a8..6f963caa2 100644
--- a/integration/snapshots/optional-chain-with-function.debug.js
+++ b/integration/snapshots/optional-chain-with-function.debug.js
@@ -3,9 +3,9 @@ export function test() {
const multipleSecondaryValues = undefined;
const ratings = ["123"];
var bar = multipleSecondaryValues?.map((value) => false);
- bar = (bar?.multipleSecondaryValues)?.map((value) => false);
- bar = (bar?.bar?.multipleSecondaryValues)?.map((value) => false);
- bar = ({}?.bar?.multipleSecondaryValues)?.map((value) => false);
+ bar = bar?.multipleSecondaryValues?.map((value) => false);
+ bar = bar?.bar?.multipleSecondaryValues?.map((value) => false);
+ bar = {}?.bar?.multipleSecondaryValues?.map((value) => false);
} catch (e) {
throw e;
}