haskell / haskell/haskell-language-server

Hover on inner signature gives confusing information

Open
#767 5 comments 1 reaction 0 assignees View on GitHub
component: ghcide type: enhancement
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

Hovering on the *signature* of `inner` in the following sample, gives the signature of `outer`. Hovering on the *definition* of `inner` gives the correct signature of `inner`.

````haskell
outer :: Bool
outer = undefined where

inner :: Char
inner = undefined
````

Tests in haskell/ghcide#311.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.