File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 10
10
> - :house : [ Internal]
11
11
> - :nail_care : [ Polish]
12
12
13
+ # 11.1.5 (Unreleased)
14
+
15
+ - Deprecate JSX 3 https://github.com/rescript-lang/rescript-compiler/pull/7042
16
+
13
17
# 11.1.4
14
18
15
19
- Fix issue where long layout break added a trailing comma in partial application ` ... ` . https://github.com/rescript-lang/rescript-compiler/pull/6949
Original file line number Diff line number Diff line change @@ -43,7 +43,13 @@ let from_map map =
43
43
match m.?(Bsb_build_schemas. jsx_version) with
44
44
| Some (Flo { loc; flo } ) -> (
45
45
match flo with
46
- | "3" -> version := Some Jsx_v3
46
+ | "3" ->
47
+ let loc_end =
48
+ {loc with Lexing. pos_cnum = loc.Lexing. pos_cnum + 1 }
49
+ in
50
+ let loc = {Warnings. loc_start = loc; loc_end; loc_ghost = false } in
51
+ Location. deprecated loc " jsx 3 is deprecated, use jsx 4 instead" ;
52
+ version := Some Jsx_v3
47
53
| "4" -> version := Some Jsx_v4
48
54
| _ -> Bsb_exception. errorf ~loc " Unsupported jsx version %s" flo
49
55
)
You can’t perform that action at this time.
0 commit comments