PiotrDabkowski / pyjsparser

Fast JavaScript parser for Python.
MIT License
246 stars 37 forks source link

no parameter to parseParams() #5

Closed mounty1 closed 7 years ago

mounty1 commented 8 years ago

pyjsparser line 1163 has a call to method parseParams() which does not supply an argument for formal firstRestricted. In a statically-analysable language, this would not even have been compilable ...

petri commented 7 years ago

The bug (in parsePropertyMethodFunction) is now in a different place at the current master: https://github.com/PiotrDabkowski/pyjsparser/blob/master/pyjsparser/parser.py#L1277

PiotrDabkowski commented 7 years ago

Thanks, fixed.