jaredly / jaredly/reason-language-server

Hover on a react prop doesn't always point to the right type

Open
#385 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
OCaml
Stars
649
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Here's a screenshot of what I mean. I'm hovering over `paddingBottom` inside the call to `ReactDOMRe.Style.make` and the highlight is wrong and the type is also wrong.

Screen Shot 2020-01-19 at 3 34 46 PM

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the hover over `paddingBottom` in the `ReactDOMRe.Style.make` call shown in the issue screenshot. Trace the language server's hover and type-resolution behavior for that expression, then verify that the highlighted expression and reported type match the React prop; the issue does not name a file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml, react
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.