Skip to content

Commit

Permalink
Don't error out if a replacement is unused
Browse files Browse the repository at this point in the history
  • Loading branch information
protz committed Apr 17, 2024
1 parent 83de43b commit b74f916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Builtin.ml
Original file line number Diff line number Diff line change
Expand Up @@ -385,5 +385,5 @@ let check () =
List.iter (fun (lid, (_, seen)) ->
if !seen = Unused then
let open Krml in
Warn.fatal_error "Unused replacement: %a" PrintAst.Ops.plid lid
KPrint.bprintf "Unused replacement: %a" PrintAst.Ops.plid lid
) replacements

0 comments on commit b74f916

Please sign in to comment.