const a = (...params) => console.log(params); a( 1, 2, 3, );
js2-mode I see the error
missing ) after argument list. Here is the screenshot of my emacs window - https://i.stack.imgur.com/GFuBM.png
There is issue about that and PR for
js2-mode on github:
As you can see on the screenshot I have the latest
js2-mode with code from this PR.
Why do I still get this error? How can I fix or debug it? Any help is appreciated
Edit 0: How to reproduce this in clean environment?
- start clean emacs in docker using
docker run --rm -ti jare/emacs emacs -nw
- install js2-mode:
M-x package-install RET js2-mode
- create empty buffer, enable
M-x js2-mode, type same text as in example
- see the same error - https://i.stack.imgur.com/NYU6s.png