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
A nice solution to this seems to be to expose a method that calls Acorn with an onComment handler and then walks the AST and attaches the comments in non-standard fields.
code-red could then be free to change the mechanism later if so desired, without affecting Svelte. I don't think we want to make these fields part of code-red's API.
The text was updated successfully, but these errors were encountered:
Conduitry
added a commit
to Conduitry/code-red
that referenced
this issue
Jan 17, 2020
See sveltejs/svelte#4268
A nice solution to this seems to be to expose a method that calls Acorn with an
onComment
handler and then walks the AST and attaches the comments in non-standard fields.code-red could then be free to change the mechanism later if so desired, without affecting Svelte. I don't think we want to make these fields part of code-red's API.
The text was updated successfully, but these errors were encountered: