else_with_empty_block: { options = {} input: { if (x) yes(); else { } } expect_exact: "if(x)yes();" } else_with_empty_statement: { options = {} input: { if (x) yes(); else ; } expect_exact: "if(x)yes();" } conditional_false_stray_else_in_loop: { options = { booleans: true, comparisons: true, conditionals: false, dead_code: true, evaluate: true, hoist_vars: true, if_return: true, join_vars: true, loops: true, side_effects: true, unused: true, } input: { for (var i = 1; i <= 4; ++i) { if (i <= 2) continue; console.log(i); } } expect_exact: "for(var i=1;i<=4;++i)if(!(i<=2))console.log(i);" expect_stdout: true } Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/scanner.scm
AgeCommit message (Expand)Author
2021-08-03gnu: Add scanbd....Tobias Geerinckx-Rice
2021-03-17gnu: Use PACKAGE/INHERIT in more places....Mark H Weaver
2021-02-22gnu: Fix "license:" prefix in scanner.scm....Ludovic Courtès
2021-02-15gnu: sane-backends-minimal: Update to 1.0.32....Tobias Geerinckx-Rice
2021-02-15gnu: sane-backends-minimal: Remove obsolete #t return values....Tobias Geerinckx-Rice
2021-02-15gnu: sane-backends-minimal: Don't use unstable tarball....Tobias Geerinckx-Rice