Open reygreen1 opened 3 years ago
I'll try and get a look at upgrading the underlying parser and fundamental AST processing soon which means likely January. From the stack trace it doesn't seem to be a code parser issue, but how the generated AST is handled. Alas when I made that last patch update in Dec '18 / Jan '19 I likely didn't include all the thorough use cases at the time in the tests.
I'm working on some new build tooling right now for Node modules that I need to complete first as I'll use this in the upgrade process to other TyphonJS modules. This issue should go away once I rebuild and upgrade the underlying Babel parser for escomplex and handle the AST processing of any of the newer language features.
I suppose the good news is that I'm back coding and certainly realize that some updates need to occur to escomplex and I appreciate you submitting this issue to light a bit of a fire behind getting these fundamental updates done. :D
I encountered an error when using the rest operator when destructuring a function parameter.
My test source code like this:
The error info like this:
I have tried the method in #11 , but it does not work. So any help?
Dependencies versions: