You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, cherow (AST parser) will silently fail if there is a syntax error in a file. It ultimately creates a memory leak and throws a heap error if it cannot parse a file. Files with incorrect syntax should not fail silently.
To resolve this, metadoc needs to lint the code before running it through the parser. This should guarantee the code is valid JavaScript before cherow parses the AST.
The text was updated successfully, but these errors were encountered:
Currently, cherow (AST parser) will silently fail if there is a syntax error in a file. It ultimately creates a memory leak and throws a heap error if it cannot parse a file. Files with incorrect syntax should not fail silently.
To resolve this, metadoc needs to lint the code before running it through the parser. This should guarantee the code is valid JavaScript before cherow parses the AST.
The text was updated successfully, but these errors were encountered: