File tree 2 files changed +18
-0
lines changed
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
96
96
97
97
let withAs = (~xx as yyy ) => yyy + 1
98
98
// ^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
58
58
Hover tests/src/Hover.res 96:21
59
59
{"contents": "```rescript\nint\n```"}
60
60
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