Skip to content

Commit 0292ccf

Browse files
authored
Merge pull request #73 from hackwaly/ocaml-5.3
Add OCaml 5.3 support
2 parents 4f950ec + 8987cb9 commit 0292ccf

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: ci
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77
pull_request:
88
branches:
9-
- main
9+
- master
1010
workflow_dispatch:
1111
schedule:
1212
- cron: "0 5 * * *"
@@ -21,6 +21,7 @@ jobs:
2121
- ubuntu-latest
2222
- macos-latest
2323
ocaml-compiler:
24+
- ocaml-base-compiler.5.3.0~beta1
2425
- 5.2.x
2526
- 5.1.x
2627
- 5.0.x

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.3.3 - 2024-11-10
2+
3+
### Added
4+
5+
* Add OCaml 5.3 support (#73).
6+
17
## 1.3.2 - 2024-02-25
28

39
### Added

src/debugger/inspect/ctype.ml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
include Ocaml_common.Ctype
2+
3+
[%%if ocaml_version < (5, 3, 0)]
4+
let duplicate_type = correct_levels
5+
[%%endif]

src/debugger/inspect/value_scope.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class local_scope_value ~scene ~frame ~kind () =
4949
match typenv |> Typenv.find_value (Path.Pident id) with
5050
| exception Not_found -> None
5151
| { val_type; val_kind; _ } ->
52-
let ty = Ctype.correct_levels val_type in
52+
let ty = Ctype.duplicate_type val_type in
5353
Some (Ident.name id, val_kind, ty, pos))
5454
|> Array.of_seq,
5555
match (frame.index, event.ev_kind) with

0 commit comments

Comments
 (0)