From e75c711c68896f5952793601f156c921c814caab Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Thu, 30 Dec 2021 21:12:32 -0800 Subject: 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 --- integration/snapshots/number-literal-bug.debug.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 integration/snapshots/number-literal-bug.debug.js (limited to 'integration/snapshots/number-literal-bug.debug.js') diff --git a/integration/snapshots/number-literal-bug.debug.js b/integration/snapshots/number-literal-bug.debug.js new file mode 100644 index 000000000..c62e2d9ff --- /dev/null +++ b/integration/snapshots/number-literal-bug.debug.js @@ -0,0 +1,9 @@ +export function test() { + const precision = 10; + try { + parseFloat(0 .toPrecision(precision) + "1"); + } catch (exception) { + throw new Error("Test Failed", exception); + } + testDone(import.meta.url); +} -- cgit v1.2.3