Skip to content

Commit 70ebad3

Browse files
committed
update changes
1 parent 56fa553 commit 70ebad3

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

Changes.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
`*` means potential break changes
22
# 8.2
33

4+
- #4573, #4565, #4559, #4558, #4556, #4554, #4553, #4550 introudce string literal types
5+
6+
- #4580 #4581, #4582, #4463, #4583 relax bs.as to allow object literals instead of json, so FFI below is allowed:
7+
```ocaml
8+
external fff0 : int -> int -> (_[@bs.as {json|[undefined,undefined]|json}]) -> int = "say"
9+
[@@bs.val]
10+
11+
let testUndefined () =
12+
fff0 1 2
13+
```
414
- #4570 refine purity analysis so that object literals in raw will be considered pure
515

6-
- #4573, #4565, #4559, #4558, #4556, #4554, #4553, #4550 introudce string literal types
716

817
- #4548 #4555 fix ghost locaption in empty array
918

@@ -23,6 +32,11 @@
2332
- #4470 tweak error message for not found record fields/constructors
2433

2534
* bug fixes
35+
- #4572, #4585 fix a corner case for ffi to allow such bindings:
36+
```ocaml
37+
external get : _ -> _ -> _ = ""[@@bs.get_index]
38+
```
39+
- #4589 fix building failure on freebsd
2640
- #4524, #4519 fix an inlining bug
2741
- #4505 #4502, fix bad error message in bsb -bla
2842

0 commit comments

Comments
 (0)