jaredly / jaredly/reason-language-server

OCAMLLIB syntax error

Open
#394 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
OCaml
Stars
649
Forks
85
PR merge metrics
No merged PRs in 30d

Description

I am using reason-vscode on a esy project. I get these errors from the reason language service. has anyone had the same issues:

````
$OCAMLLIB': -c: line 0: unexpected EOF while looking for matching `''
$OCAMLLIB': -c: line 1: syntax error: unexpected end of file
Code: -32603
[Error - 3:55:16 PM] Request textDocument/documentSymbol failed.
Message: Invalid response for esy -q sh -c 'echo $OCAMLLIB'
````

Windows 10,
reason-vscode: 1.7.5
esy: 0.6.2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Windows 10 failure in reason-vscode 1.7.5 with esy 0.6.2, focusing on the `esy -q sh -c 'echo $OCAMLLIB'` command. Check the documentSymbol request and its invalid esy response; done means the command no longer produces shell syntax errors and the request returns a valid response.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.