@@ -76,6 +76,16 @@ let t5 (type a) (type b) =
76
76
((Function$ (fun (l : a list) -> fun (x : a) -> x :: l))[@res.arity 2])
77
77
let t6 (type a) (type b) =
78
78
((Function$ (fun (l : a list) -> fun (x : a) -> x :: l))[@res.arity 2])
79
+ type nonrec arrowPath1 = (int -> string, [ `Has_arity1 ]) function$
80
+ type nonrec arrowPath2 = (I.t -> string, [ `Has_arity1 ]) function$
81
+ type nonrec arrowPath3 = int -> string
82
+ type nonrec arrowPath4 = I.t -> string
83
+ type nonrec callback1 =
84
+ (ReactEvent.Mouse.t -> unit, [ `Has_arity1 ]) function$ as 'callback
85
+ type nonrec callback2 =
86
+ (ReactEvent.Mouse.t -> unit as 'u, [ `Has_arity1 ]) function$
87
+ type nonrec callback3 =
88
+ (ReactEvent.Mouse.t -> unit, [ `Has_arity1 ]) function$ as 'callback
79
89
[@@@uncurried.swap ]
80
90
let cApp = foo 3
81
91
let uApp = ((foo 3)[@res.uapp ])
@@ -151,4 +161,14 @@ let t0 (type a) (type b) =
151
161
((Function$ (fun (l : a list) -> fun (x : a) -> x :: l))[@res.arity 2])
152
162
let t1 (type a) (type b) (l : a list) (x : a) = x :: l
153
163
let t2 (type a) (type b) (l : a list) (x : a) = x :: l
154
- let t3 (type a) (type b) (l : a list) (x : a) = x :: l
164
+ let t3 (type a) (type b) (l : a list) (x : a) = x :: l
165
+ type nonrec arrowPath1 = (int -> string, [ `Has_arity1 ]) function$
166
+ type nonrec arrowPath2 = (I.t -> string, [ `Has_arity1 ]) function$
167
+ type nonrec arrowPath3 = int -> string
168
+ type nonrec arrowPath4 = I.t -> string
169
+ type nonrec callback1 =
170
+ (ReactEvent.Mouse.t -> unit, [ `Has_arity1 ]) function$ as 'callback
171
+ type nonrec callback2 =
172
+ (ReactEvent.Mouse.t -> unit as 'u, [ `Has_arity1 ]) function$
173
+ type nonrec callback3 =
174
+ (ReactEvent.Mouse.t -> unit, [ `Has_arity1 ]) function$ as 'callback
0 commit comments