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

Commit d9c44bb

Browse files
Add extra test case for outcome printing of function parameter types (#460)
1 parent 0903278 commit d9c44bb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/oprint/expected/oprint.resi.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -493,4 +493,5 @@ and ASet: {
493493
}
494494
type emptyObject = {.}
495495
let f: (~x: 'a=?, ~y: 'b) => option<'a>
496-
type call = CleanStart
496+
type call = CleanStart
497+
let f: (~a: int=?) => int

tests/oprint/oprint.res

+2
Original file line numberDiff line numberDiff line change
@@ -338,3 +338,5 @@ type emptyObject = {.}
338338
let f = (~x=?, ~y as _) => x
339339

340340
type call = CleanStart
341+
342+
let f = (~a=1) => 1

0 commit comments

Comments
 (0)