diff --git a/infer/src/erlang/ErlangJsonParser.ml b/infer/src/erlang/ErlangJsonParser.ml index 41b7da599..47ba7b5bc 100644 --- a/infer/src/erlang/ErlangJsonParser.ml +++ b/infer/src/erlang/ErlangJsonParser.ml @@ -148,7 +148,7 @@ let to_unary_operator json : Ast.unary_operator option = | `String "not" -> Some UNot | _ -> - unknown "binary_operator" json + unknown "unary_operator" json let to_exception json : Ast.exception_ option =