aboutsummaryrefslogtreecommitdiff
path: root/test/compress
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress')
-rw-r--r--test/compress/properties.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/compress/properties.js b/test/compress/properties.js
index 45f870df..496a43ca 100644
--- a/test/compress/properties.js
+++ b/test/compress/properties.js
@@ -841,3 +841,22 @@ lhs_prop_2: {
"abc"[2] = "g";
}
}
+
+literal_duplicate_key_side_effects: {
+ options = {
+ unsafe: true,
+ }
+ input: {
+ console.log({
+ a: "FAIL",
+ a: console.log ? "PASS" : "FAIL"
+ }.a);
+ }
+ expect: {
+ console.log({
+ a: "FAIL",
+ a: console.log ? "PASS" : "FAIL"
+ }.a);
+ }
+ expect_stdout: "PASS"
+}
nu/packages/ghostscript.scm: Likewise. * gnu/packages/glib.scm: Likewise. * gnu/packages/gnome.scm: Likewise. * gnu/packages/gnucash.scm: Likewise. * gnu/packages/gnunet.scm: Likewise. * gnu/packages/gnupg.scm: Likewise. * gnu/packages/gnuzilla.scm: Likewise. * gnu/packages/graphics.scm: Likewise. * gnu/packages/grub.scm: Likewise. * gnu/packages/gtk.scm: Likewise. * gnu/packages/guile.scm: Likewise. * gnu/packages/icu4c.scm: Likewise. * gnu/packages/idutils.scm: Likewise. * gnu/packages/image.scm: Likewise. * gnu/packages/imagemagick.scm: Likewise. * gnu/packages/irc.scm: Likewise. * gnu/packages/ldc.scm: Likewise. * gnu/packages/libcanberra.scm: Likewise. * gnu/packages/libevent.scm: Likewise. * gnu/packages/libreoffice.scm: Likewise. * gnu/packages/libunwind.scm: Likewise. * gnu/packages/libusb.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/lirc.scm: Likewise. * gnu/packages/llvm.scm: Likewise. * gnu/packages/lsh.scm: Likewise. * gnu/packages/lua.scm: Likewise. * gnu/packages/lxqt.scm: Likewise. * gnu/packages/mail.scm: Likewise. * gnu/packages/maths.scm: Likewise. * gnu/packages/mcrypt.scm: Likewise. * gnu/packages/messaging.scm: Likewise. * gnu/packages/mit-krb5.scm: Likewise. * gnu/packages/mp3.scm: Likewise. * gnu/packages/multiprecision.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/ninja.scm: Likewise. * gnu/packages/nvi.scm: Likewise. * gnu/packages/ocaml.scm: Likewise. * gnu/packages/orpheus.scm: Likewise. * gnu/packages/ots.scm: Likewise. * gnu/packages/parallel.scm: Likewise. * gnu/packages/patchutils.scm: Likewise. * gnu/packages/pcre.scm: Likewise. * gnu/packages/pdf.scm: Likewise. * gnu/packages/perl.scm: Likewise. * gnu/packages/plotutils.scm: Likewise. * gnu/packages/polkit.scm: Likewise. * gnu/packages/pulseaudio.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/qemu.scm: Likewise. * gnu/packages/qt.scm: Likewise. * gnu/packages/ratpoison.scm: Likewise. * gnu/packages/rdf.scm: Likewise. * gnu/packages/readline.scm: Likewise. * gnu/packages/rush.scm: Likewise. * gnu/packages/scheme.scm: Likewise. * gnu/packages/screen.scm: Likewise. * gnu/packages/sdl.scm: Likewise. * gnu/packages/slim.scm: Likewise. * gnu/packages/ssh.scm: Likewise. * gnu/packages/tcl.scm: Likewise. * gnu/packages/tcsh.scm: Likewise. * gnu/packages/texinfo.scm: Likewise. * gnu/packages/tls.scm: Likewise. * gnu/packages/tor.scm: Likewise. * gnu/packages/tv.scm: Likewise. * gnu/packages/valgrind.scm: Likewise. * gnu/packages/version-control.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/vpn.scm: Likewise. * gnu/packages/vtk.scm: Likewise. * gnu/packages/w3m.scm: Likewise. * gnu/packages/web.scm: Likewise. * gnu/packages/wicd.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xfce.scm: Likewise. * gnu/packages/xiph.scm: Likewise. * gnu/packages/xml.scm: Likewise. * gnu/packages/xorg.scm: Likewise. * gnu/packages/zip.scm: Likewise. Alex Kost 2016-02-14gnu: lxqt: Update source URLs to use HTTPS....* gnu/packages/lxqt.scm (libqtxdg, liblxqt, lxqt-common) (lxqt-session)[source]: Use HTTPS URLs. Mark H Weaver 2015-10-03gnu: libqtxdg: Fix download location....* gnu/packages/lxqt.scm (libqtxdg)[source]: Fix download location. Andreas Enge 2015-10-03gnu: liblxqt: Fix download location....* gnu/packages/lxqt.scm (liblxqt)[source]: Fix download location. [description]: Fix typo. Andreas Enge 2015-10-03gnu: Add lxqt-session....* gnu/packages/lxqt.scm (lxqt-session): New variable. Andreas Enge 2015-10-03gnu: Add lxqt-common....* gnu/packages/lxqt.scm (lxqt-common): New variable. Andreas Enge 2015-10-03gnu: liblxqt: Fix download location....* gnu/packages/lxqt.scm (liblxqt)[source]: Use the .tar.xz release exclusively; drop the alternative URI for .tar.gz and correct the hash. Andreas Enge 2015-07-27gnu: liblxqt: Fix build with Qt 5.5....* gnu/packages/patches/liblxqt-include.patch: New file. * gnu-system.am (dist_patch_DATA): Register patch. * gnu/packages/lxqt.scm (liblxqt)[source]: Use patch. Andreas Enge 2015-07-27gnu: libqtxdg: Update to 1.2.0....* gnu/packages/lxqt.scm (libqtxdg)[source]: Update to 1.2.0. [arguments]: Enable test builds. Andreas Enge 2015-07-24gnu: Add liblxqt....* gnu/packages/lxqt.scm (liblxqt): New variable. Andreas Enge 2015-03-06gnu: Add libqtxdg....* gnu/packages/lxqt.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Register it. Co-authored-by: Sou Bunnbu <iyzsong@gmail.com> Andreas Enge