Skip to content

Commit 8d7e395

Browse files
cristianoczth
authored andcommitted
update tests
1 parent 7e0e754 commit 8d7e395

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

jscomp/test/FirstClassDicts.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jscomp/test/FirstClassDicts.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module CreateAndLookup = {
2-
type myDict = {name?: string, mutable anyOtherField?: int}
2+
type myDict = {name?: string, anyOtherField?: int}
33

44
let test_create: myDict = {name: "hello", something: 5}
55

6-
let test_lookup = (d: myDict) => d.something = Some(10)
6+
let test_lookup = (d: myDict) : option<int> => d.something
77
}
88

99

0 commit comments

Comments
 (0)