sebastienros / esprima-dotnet

Esprima .NET (BSD license) is a .NET port of the esprima.org project. It is a standard-compliant ECMAScript parser (also popularly known as JavaScript).
BSD 3-Clause "New" or "Revised" License
425 stars 75 forks source link

Fix expression parsing in export default statements #417

Closed adams85 closed 11 months ago

adams85 commented 11 months ago

Fixes #416

See also https://tc39.es/ecma262/#prod-ExportDeclaration

adams85 commented 11 months ago

Should the test case be added to test suite too

Absolutely, I just forgot to add it... :) Thanks for pointing this out.

I'm also fine with adding FluentAssertions as dependency as xUnit asserts are yucky anywa

Unfortunately, I'm not familiar with FluentAssertions but I don't think we'd need it for this one. However, feel free to add it if you see it useful.