[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#711524: atdgen: fails to build with new ocaml-atd



Package: atdgen
Version: 1.2.2-1
Severity: serious
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu saucy

I tried to rebuild atdgen against the new ocaml-atd, and it failed as
follows:

  ocamlfind ocamlc -dtypes -g -c -package "str atd biniou yojson" ag_ocaml.ml
  File "ag_ocaml.ml", line 248, characters 6-23:
  Error: This pattern matches values of type
           [< `List of 'a * 'b * 'c
            | `Name of 'd * ('e * 'f * 'g) * 'h
            | `Option of 'i * 'j * 'k
            | `Record of 'l * 'm * 'n
            | `Shared of 'o * 'p * 'q
            | `Sum of 'r * 's * 't
            | `Tuple of 'u * 'v * 'w
            | `Tvar of 'x * 'y ]
         but a pattern was expected which matches values of type
           Atd_ast.type_expr
         The first variant type does not allow tag(s) `Nullable, `Wrap
  make[3]: *** [ag_ocaml.cmi] Error 2

Thanks,

-- 
Colin Watson                                       [cjwatson@ubuntu.com]


Reply to: