Skip to content
Snippets Groups Projects
Commit 6ba8d720 authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

[compat] Compatibility with older OCaml versions :older_man:

parent bd1fc51a
No related branches found
No related tags found
No related merge requests found
......@@ -339,7 +339,8 @@ module Lenv = struct
| BuiltinLabel LoopEntry -> Some "LoopEntry"
| StmtLabel s ->
(match
List.find_opt (function Label (_,_,b) -> b | _ -> false) !s.labels
Transitioning.List.find_opt
(function Label (_,_,b) -> b | _ -> false) !s.labels
with
| None -> None
| Some (Label (lab,_,_)) -> Some lab
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment