BUG: ast cannot be parsed cause replace export class
is work when source is export function
#245
Labels
bug
Something isn't working
https://play.gogocode.io/#code/N4IglgdgDgrgLgYQPYBMCmIBcI0A8pIBOcABAGYwQDGcYSEJAtgJ4BilNdEAFAJQnASAHQYkxhNHBiEGARgDcwiAF8QAGhAB3IgGtk6LCArVa9EnEIBDCAGcyRRtzJgANmgCSEe2pKWoYHyQoU1t+YBExKnobUgASEgBeX38AOgBzJAyo9AiSKNtSGyRpKjRE8lcPLyQUopK0EVyxXIB6FpIJKRkSZmLCcytbe0JGNBQ81DKACzQJXM7pBljuOsJS3iaSFOcIFG4AAzwCYjyXSxsbEliAfVjY2QEr29iAJhJlfY3RMRS0SyoptxuGA4GhGPwEgA+ASbSLRUgQSyjcogsEpRiWOAAlL3ADaAAYALopABulhcMDQ8lhJFRjBSEigZ1KACFmAcaZEzhcrsBEaNlI9YsA6ejMdjXgTiWSKWhBcpOSRrtcjkQ4MruAByXA6zU+TXC-lyvW8o3KXjU75iEifS3W968dJoCCzTFoPgiBUQdTgaDwAAy1jShjgzCgaBsVEIYGCPqm5wACp1aLMsBZKRobDAAEYANTAaE0ABUwxhsBY0BhlEA
I write a transformer to transform
export class A() { name: 'hhh'}
=>class A() { name: 'hhh'}; __export__(FILENAME, 'A', A);
there is a error when parsing export function,
errr msg isast cannot be parsed cause replace
export class
is work when source is export functionGot error:
The text was updated successfully, but these errors were encountered: