Rich-Harris / butternut

The fast, future-friendly minifier
https://butternut.now.sh
MIT License
1.17k stars 17 forks source link

unused function expressions cannot have side-effects #148

Closed Rich-Harris closed 7 years ago

Rich-Harris commented 7 years ago

fixes #134 (though we might still need to remove inits of dead variable declarations regardless, notwithstanding that that's nonsensical code)

codecov[bot] commented 7 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@69130f4). Click here to learn what that means. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #148   +/-   ##
=========================================
  Coverage          ?   88.24%           
=========================================
  Files             ?       71           
  Lines             ?     1634           
  Branches          ?        0           
=========================================
  Hits              ?     1442           
  Misses            ?      192           
  Partials          ?        0
Impacted Files Coverage Δ
src/program/types/VariableDeclarator.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 69130f4...cd4900e. Read the comment docs.