Skip to content

Commit e8025b5

Browse files
committed
add test
1 parent 2f41b75 commit e8025b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jscomp/test/record_regression.res

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,7 @@ let setAA = (ao: option<int>) => {aa: @ns.optional ao, bb: None}
100100
// @ns.optional bb: int,
101101
// }
102102
// }
103+
104+
type foo = Foo({name: string, age?: int})
105+
106+
let foo = Foo({name: "foo"})

0 commit comments

Comments
 (0)