Ariya Hidayat

Results 74 comments of Ariya Hidayat

Additional data point: sometimes a consumer also adopts the bleeding-edge version by themselves. For instance, WebKit's Web Inspector wants to support dynamic `import` and hence it grabs Esprima from master...

This is now available as https://www.npmjs.com/package/nightly-esprima.

Great @loynoir! Would you be willing to come up with a PR (and an explanation on how to test it)?

Just to confirm, did you actually mean this one? ```js esprima.parse('function foo() {return /*comment*/;}', { attachComment: true }) ``` Without `attachComment` (i.e. just `comment`), every comment won't be attached to...

Hi @w-y, unfortunately this is the expected behavior due to the limitation of the logic in the comment attacher. In your case, `bad comment` would have been attached to the...

Hi @jogibear9988, thanks for the report and the fix! For our future reference, this likely needs a reference to the specification, as well as some tests.

Is this for the online demo? Or perhaps for the CLI?

@goelayu Any information on the web browser and operating system used to reproduce this issue?

The editor in the demo is [github.com/Microsoft/monaco-editor](https://github.com/Microsoft/monaco-editor), so likely it's related to that. Can you try with the online [Monaco demo](https://microsoft.github.io/monaco-editor/playground.html)? Does it behave differently with another browser?