Skip to content

Commit 06f290a

Browse files
committed
Add dict test
1 parent 73ca8c4 commit 06f290a

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

jscomp/test/DictLiteral.js

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

jscomp/test/DictLiteral.res

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
let demoDict = dict{"a": 1, "b":2 }
2+
let spreadDict = dict{...demoDict, "b": 3}

0 commit comments

Comments
 (0)