File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -96,3 +96,15 @@ let _get = r => r.f +. r.i
9696
9797let withAs = (~xx as yyy ) => yyy + 1
9898// ^hov
99+
100+ module AA = {
101+ type cond <'a > = [< #str (string )] as 'a
102+ type t <'a > = {b : cond <'a >}
103+ let fun = b => {b : b }
104+ }
105+
106+ let typeOk = AA .fun
107+ // ^hov
108+
109+ let typeDuplicate = AA .fun
110+ // ^hov
Original file line number Diff line number Diff line change @@ -58,3 +58,9 @@ Hover tests/src/Hover.res 93:25
5858Hover tests/src/Hover.res 96:21
5959{"contents": "```rescript\nint\n```"}
6060
61+ Hover tests/src/Hover.res 105:6
62+ {"contents": "```rescript\nAA.cond<[< #str(string)]> => AA.t<[< #str(string)]>\n```"}
63+
64+ Hover tests/src/Hover.res 108:24
65+ {"contents": "```rescript\nAA.cond<\n [< #str(string) & (string) & (string)],\n> => AA.t<[< #str(string) & (string) & (string)]>\n```"}
66+
You can’t perform that action at this time.
0 commit comments