Skip to content

Commit

Permalink
disable warning
Browse files Browse the repository at this point in the history
Summary: Warning -42 comes up a few times in `test_ffi_ocaml.ml` but this is only a problem for versions of ocaml < 4.0.0 which we don't support anyway. So we can supress this warning

Reviewed By: stroxler

Differential Revision: D51035300

fbshipit-source-id: 5036568badab5a89db74b290213d71e7dd25eef0
  • Loading branch information
jasontatton authored and facebook-github-bot committed Nov 6, 2023
1 parent a727c3b commit cdcda95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_ffi_ocaml.ml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ open OUnit2
module Ast = Errpy.Ast
module Parser = Errpy.Parser

[@@@ocaml.warning "-42"]

(* Simple tests to ensure we can invoke ERRPY via the FFI interface from OCaml and marshall the
output ast to an OCaml datastructure and handle comments correctly *)

Expand Down

0 comments on commit cdcda95

Please sign in to comment.