diff options
author | 2021-09-20 22:37:22 -0700 | |
---|---|---|
committer | 2021-09-20 22:37:22 -0700 | |
commit | ab565f1a3ca2d9a320c958786fb3a9df3392ceae (patch) | |
tree | da5d9dbf6fd6b0371661ae8355e664fe909ec406 /integration/snapshots-no-hmr/unicode-identifiers.js | |
parent | 90cd3bf4cbe06b1795cd47bcae670d5970564abd (diff) | |
download | bun-ab565f1a3ca2d9a320c958786fb3a9df3392ceae.tar.gz bun-ab565f1a3ca2d9a320c958786fb3a9df3392ceae.tar.zst bun-ab565f1a3ca2d9a320c958786fb3a9df3392ceae.zip |
Fix parsing/printing unicode identifiers, switch to UTF-8 for prefilled strings, remove eagerly loading identifier_name
Diffstat (limited to '')
-rw-r--r-- | integration/snapshots-no-hmr/unicode-identifiers.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/integration/snapshots-no-hmr/unicode-identifiers.js b/integration/snapshots-no-hmr/unicode-identifiers.js new file mode 100644 index 000000000..c495d69f6 --- /dev/null +++ b/integration/snapshots-no-hmr/unicode-identifiers.js @@ -0,0 +1,7 @@ +var ε = 1.0e-06, ε2 = ε * ε, π = Math.PI, τ = 2 * π, τε = τ - ε, halfπ = π / 2, d3_radians = π / 180, d3_degrees = 180 / π; + +export {d3_radians}; +export function test() { + console.assert(ε === 1.0e-06); + return testDone(import.meta.url); +} |