Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
tjammer committed Nov 8, 2024
1 parent ecae667 commit 1828e2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/parser.mly
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

%left And Or
%left Eq_op
%nonassoc Cmp_op
%left Cmp_op
%left Plus_op
%left Mult_op
%left Dot Ampersand Exclamation
Expand Down
2 changes: 1 addition & 1 deletion lib/typing/exclusivity.ml
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ let get_closed_make_usage_delayed tree b =
(* Move the closed variable into the closure *)
(move_closed tree c, Umove)
| None -> (* Touched but not closed? Let's read it *) (tree, Uread))
| Tfun _ -> failwith "Oh really?!"
| Tfun _ -> (tree, Usage.Uread)
| _ -> failwith "Internal Error: Not a function type"

let make_usage tree (use : touched) = (tree, Usage.of_attr use.tattr)
Expand Down

0 comments on commit 1828e2a

Please sign in to comment.