maekawatoshiki / rapidus

ECMAScript implementation in Rust
MIT License
519 stars 21 forks source link

Improve parsing call-, member-, new-expression. #51

Closed sisshiki1969 closed 5 years ago

sisshiki1969 commented 5 years ago

Expressions listed below are currently not parsed correctly.

new f().g()
new o.f('O')('K')
new new g(5)(4).ans

This PR fix this problem, and tests added.