Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit b8b78ae

Browse files
glennslcristianoc
authored andcommitted
test: fix expected outcome printer result
1 parent 04da944 commit b8b78ae

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/oprint/expected/oprint.resi.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ module M: {
105105
}
106106
let y: string
107107
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
110110
type point = [#Point(float, float)]
111111
type shape = [#Circle(point, float) | #Rectangle(point, point)]
112112
let pi: float
@@ -199,8 +199,8 @@ module Js: {
199199
type arity22<'a> = {i22: 'a}
200200
}
201201
}
202-
type arity0 = (.) => unit
203-
type arity0b = (.) => int
202+
type arity0 = (. ()) => unit
203+
type arity0b = (. ()) => int
204204
type arity0c = (.) => (.) => array<int>
205205
type arity0d = (.) => unit => unit
206206
type arity1 = (. int) => int
@@ -465,8 +465,8 @@ type dotdotObjectCoordinate<'a> = 'a
465465
type permissions = [#644 | #777]
466466
type numericPolyVarWithPayload = [#1(string) | #2(int, string)]
467467
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)
470470
type picture = string
471471
module type DEVICE = {
472472
let draw: picture => unit
@@ -485,4 +485,4 @@ and ASet: {
485485
type emptyObject = {.}
486486
let f: (~x: 'a=?, ~y: 'b) => option<'a>
487487
type call = CleanStart
488-
let f: (~a: int=?, unit) => int
488+
let f: (~a: int=?, unit) => int

0 commit comments

Comments
 (0)