Skip to content

Add (failing) test for hover on aliased record #834

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion analysis/tests/src/Hover.res
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,7 @@ let coolVariant = CoolVariant
// ^hov

module Arr = Belt.Array
// ^hov
// ^hov

type t2 = RecordCompletion.t2
// ^hov
3 changes: 3 additions & 0 deletions analysis/tests/src/expected/Hover.res.txt
Original file line number Diff line number Diff line change
Expand Up @@ -264,3 +264,6 @@ Path x
Hover src/Hover.res 263:8
{"contents": {"kind": "markdown", "value": "\n [`Belt.Array`]()\n\n **mutable array**: Utilities functions\n\n```rescript\nmodule Array: {\n module Id\n module Array\n module SortArray\n module MutableQueue\n module MutableStack\n module List\n module Range\n module Set\n module Map\n module MutableSet\n module MutableMap\n module HashSet\n module HashMap\n module Option\n module Result\n module Int\n module Float\n}\n```"}}

Hover src/Hover.res 266:6
{"contents": {"kind": "markdown", "value": "```rescript\ntype t2 = RecordCompletion.t2 = {n2: RecordCompletion.t}\n```"}}