foo = bar =>
console.log arguments
Is compile to:
foo = bar(() => {
return console.log(arguments);
});
But according to this, arrow functions do not have their own arguments. I think this is a bug in CoffeeScript 2. Whenever arguments are used, that function should not compile to an arrow function. Or do you have some... um... arguments against that? :)