rusty-ecma/RESSA

Inavlid use of es6 export syntax

Fee0 opened this issue · 2 comments

Fee0 commented

The following code gives an InvalidExportError:

class A  {
    foo() {}
}

export { A }

A constructor works. A getter or setter works as well. Only methods causes an error it seems.

*Tested on the source location branch

Thank you for the bug report! I am hoping to get the source location branch published this weekend which will allow me to get things rolling on fixes like this

This has been merged and published as part of version 0.8.0