You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Quickfix for unused arrow function parameter results in invalid code #18274
It turns out that our infrastructure is not well-suited to synthesizing the required parameters. We think that the emitter might do the right thing if we deleted the parameter list entry, but it might not and there would still be trivia issues.
Activity
amcasey commentedon Sep 18, 2017
It turns out that our infrastructure is not well-suited to synthesizing the required parameters. We think that the emitter might do the right thing if we deleted the parameter list entry, but it might not and there would still be trivia issues.
TL;DR: This might be non-trivial.
Special case arrow functions with only parameter unused
Special case arrow functions with only parameter unused