123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990(*
* Copyright (c) 2019-2020 Craig Ferguson <me@craigfe.io>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*)openPpxlibletname="ppx_repr"moduleUnsupported=structlettuple_size~loccount=Location.raise_errorf~loc"%s: tuple types must have 2, 3 or 4 components. Found %d."namecountlettype_arrow~locctyp=Location.raise_errorf~loc"%s: function type encountered: %a. Functions are not Irmin-serialisable."namePprintast.core_typectyplettype_open~loc=Location.raise_errorf~loc"%s: extensible variant types are not Irmin-serialisable."namelettype_poly~locctyp=Location.raise_errorf~loc"%s: universally-quantified type %a encountered. Irmin types must be \
grounded."namePprintast.core_typectyplettype_open_polyvar~locctyp=Location.raise_errorf~loc"%s: open polymorphic variant %a encountered. Polymorphic variants must \
be closed."namePprintast.core_typectypletpolyvar_inherit_case~locctyp=Location.raise_errorf~loc"%s: inherited variant cases encountered in %a. This is unsupported by \
ppx_repr."namePprintast.core_typectyplettype_package~locctyp=Location.raise_errorf~loc"%s: package type %a encountered. Package types are not \
Irmin-serialisable."namePprintast.core_typectyplettype_extension~locctyp=Location.raise_errorf~loc"%s: unprocessed extension %a encountered."namePprintast.core_typectyplettype_alias~locctyp=Location.raise_errorf~loc"%s: alias type %a encountered. Alias types are not supported."namePprintast.core_typectyplettype_any~loc=Location.raise_errorf~loc"%s: anonymous type variable unsupported."nameletplugin~loc~supportedfound=Location.raise_errorf~loc"%s: unsupported deriver plugin %s. Registered plugins: %a"namefoundFmt.(Dump.liststring)supportedletrecursive_groups~loctys=Location.raise_errorf~loc"%s: mutually-recursive groups of size > 2 are not supported. Here we \
have %d types: %a)"name(List.lengthtys)Fmt.(list~sep:(any", ")string)tysletrecursive_type_with_type_paramets~locty=Location.raise_errorf~loc"%s: Can't support mutually-recursive types with type parameters in type \
%s"nametyend