this_binding_conditionals: { options = { conditionals: true, evaluate: true, side_effects: true, } input: { "use strict"; (1 && a)(); (0 || a)(); (0 || 1 && a)(); (1 ? a : 0)(); (1 && a.b)(); (0 || a.b)(); (0 || 1 && a.b)(); (1 ? a.b : 0)(); (1 && a[b])(); (0 || a[b])(); (0 || 1 && a[b])(); (1 ? a[b] : 0)(); (1 && eval)(); (0 || eval)(); (0 || 1 && eval)(); (1 ? eval : 0)(); } expect: { "use strict"; a(); a(); a(); a(); (0, a.b)(); (0, a.b)(); (0, a.b)(); (0, a.b)(); (0, a[b])(); (0, a[b])(); (0, a[b])(); (0, a[b])(); (0, eval)(); (0, eval)(); (0, eval)(); (0, eval)(); } } this_binding_collapse_vars: { options = { collapse_vars: true, toplevel: true, unused: true, } input: { "use strict"; var c = a; c(); var d = a.b; d(); var e = eval; e(); } expect: { "use strict"; a(); (0, a.b)(); (0, eval)(); } } this_binding_side_effects: { options = { side_effects: true, } input: { (function(foo) { (0, foo)(); (0, foo.bar)(); (0, eval)("console.log(foo);"); }()); (function(foo) { "use strict"; (0, foo)(); (0, foo.bar)(); (0, eval)("console.log(foo);"); }()); (function(foo) { var eval = console; (0, foo)(); (0, foo.bar)(); (0, eval)("console.log(foo);"); }()); } expect: { (function(foo) { foo(); (0, foo.bar)(); eval("console.log(foo);"); }()); (function(foo) { "use strict"; foo(); (0, foo.bar)(); (0, eval)("console.log(foo);"); }()); (function(foo) { var eval = console; foo(); (0, foo.bar)(); eval("console.log(foo);"); }()); } } this_binding_sequences: { options = { sequences: true, side_effects: true, } input: { console.log(typeof function() { return eval("this"); }()); console.log(typeof function() { "use strict"; return eval("this"); }()); console.log(typeof function() { return (0, eval)("this"); }()); console.log(typeof function() { "use strict"; return (0, eval)("this"); }()); } expect: { console.log(typeof function() { return eval("this"); }()), console.log(typeof function() { "use strict"; return eval("this"); }()), console.log(typeof function() { return eval("this"); }()), console.log(typeof function() { "use strict"; return (0, eval)("this"); }()); } expect_stdout: [ "object", "undefined", "object", "object", ] } e page....* gnu/packages/sml.scm (smlnj)[home-page]: Use HTTPS. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Foo Chuan Wei 2022-04-19gnu: polyml: Update to 5.9....* gnu/packages/sml.scm (polyml): Update to 5.9. [arguments]<#:configure-flags>: Remove nonexistent options. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Foo Chuan Wei 2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès 2021-12-10gnu: Add smlnj....* gnu/packages/sml.scm (smlnj): New variable. Co-authored-by: Brett Gilio <brettg@gnu.org> Signed-off-by: Ludovic Courtès <ludo@gnu.org> Foo Chuan Wei