@@ -105,8 +105,8 @@ module M: {
105
105
}
106
106
let y: string
107
107
type rgbw = [#Blue | #Green | #Red | #White]
108
- let id: [> #Blue | #Green | #Red] as 'a => 'a
109
- let id: [> rgb] as 'a => 'a
108
+ let id: ( [> #Blue | #Green | #Red] as 'a) => 'a
109
+ let id: ( [> rgb] as 'a) => 'a
110
110
type point = [#Point(float, float)]
111
111
type shape = [#Circle(point, float) | #Rectangle(point, point)]
112
112
let pi: float
@@ -199,8 +199,8 @@ module Js: {
199
199
type arity22<'a> = {i22: 'a}
200
200
}
201
201
}
202
- type arity0 = (.) => unit
203
- type arity0b = (.) => int
202
+ type arity0 = (. () ) => unit
203
+ type arity0b = (. () ) => int
204
204
type arity0c = (.) => (.) => array<int>
205
205
type arity0d = (.) => unit => unit
206
206
type arity1 = (. int) => int
@@ -465,8 +465,8 @@ type dotdotObjectCoordinate<'a> = 'a
465
465
type permissions = [#644 | #777]
466
466
type numericPolyVarWithPayload = [#1(string) | #2(int, string)]
467
467
let numericPolyVarMatch: [> #1(string) | #2(int, string)]
468
- let sort: (module(Set.S with elt = 'a), list<'a>) => list<'a>
469
- let make_set: (('a, 'a) => int) => module(Set.S with elt = 'a)
468
+ let sort: (module(Set.S with type elt = 'a), list<'a>) => list<'a>
469
+ let make_set: (('a, 'a) => int) => module(Set.S with type elt = 'a)
470
470
type picture = string
471
471
module type DEVICE = {
472
472
let draw: picture => unit
@@ -485,4 +485,4 @@ and ASet: {
485
485
type emptyObject = {.}
486
486
let f: (~x: 'a=?, ~y: 'b) => option<'a>
487
487
type call = CleanStart
488
- let f: (~a: int=?, unit) => int
488
+ let f: (~a: int=?, unit) => int
0 commit comments