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

Commit fb2a21b

Browse files
committed
Issues with outcome printer and arity0
Added a couple of examples.
1 parent ecfa77f commit fb2a21b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

tests/oprint/expected/oprint.resi.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ module Js: {
179179
}
180180
type arity0 = (.) => unit
181181
type arity0b = (.) => int
182+
type arity0c = Js.Fn.arity0<Js.Fn.arity0<array<int>>>
183+
type arity0d = (. unit) => unit
182184
type arity1 = (. int) => int
183185
type arity2 = (. int, int) => int
184186
type arity3 = (. int, int, int) => int

tests/oprint/oprint.res

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ module Js = {
232232

233233
type arity0 = Js.Fn.arity0<unit>
234234
type arity0b = Js.Fn.arity0<int>
235+
type arity0c = Js.Fn.arity0<Js.Fn.arity0<array<int>>>
236+
type arity0d = Js.Fn.arity0<unit => unit>
235237
type arity1 = Js.Fn.arity1<(int) => int>
236238
type arity2 = Js.Fn.arity2<(int, int) => int>
237239
type arity3 = Js.Fn.arity3<(int, int, int) => int>
@@ -340,3 +342,4 @@ let f = (~x=?, ~y as _) => x
340342
type call = CleanStart
341343

342344
let f = (~a=1) => 1
345+

0 commit comments

Comments
 (0)