Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid effect, which is now a keyword in ocaml 5.3 #283

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/config.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2070,8 +2070,8 @@ let valid_server_options ~client:_ _server_t =
Log.err (fun m -> m "TODO valid_server_options is not implemented");
Ok ()

let parse_next (effect : parser_effect) initial_state :
(parser_state, 'err) result =
let parse_next (eff : parser_effect) initial_state : (parser_state, 'err) result
=
let open Result.Syntax in
let block acc (`Inline (kind, payload)) =
let* acc = acc in
Expand Down Expand Up @@ -2107,7 +2107,7 @@ let parse_next (effect : parser_effect) initial_state :
let retb ?tl b = multib ?tl [ b ] in
match hd with
| `Path (wanted_name, kind) -> (
match effect with
match eff with
| Some (`File (effect_name, content))
when String.equal effect_name wanted_name ->
(* TODO ensure returned B matches kind? *)
Expand Down
Loading