Rich-Harris / butternut

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

Error with returning Arrow #52

Closed boopathi closed 7 years ago

boopathi commented 7 years ago

Input

function foo() {
  return (a) => a; // return a => a works fine though
}

Actual output

No space between return and a.

function foo(){returna=>a}
Rich-Harris commented 7 years ago

Fixed in 0.4, thanks