Initial packaging
[pkg-ocaml-deriving-ocsigen.git] / tests / rejected / polyrecord.ml
blobb3c7e6909b6c7588fba76e40b18750bb3bc3d69b
1 (* Polymorphic variant definitions within polymorphic record field
2 types *)
3 type r = {
4 (* I think this could be supported without too much difficulty, but
5 it doesn't have much benefit *)
6 x : 'a. [`Foo of 'a]
8 } deriving (Eq)