comparison tests/dtfunctor.ur @ 1704:21ecf340f05c

Fix defunctorization of modules containing datatype definitions
author Adam Chlipala <adam@chlipala.net>
date Thu, 29 Mar 2012 09:55:04 -0400
parents
children
comparison
equal deleted inserted replaced
1703:6f2f74cc4ead 1704:21ecf340f05c
1 functor Make(M : sig end) = struct
2 datatype t = A | B
3 end
4
5 structure A = Make(struct end)
6 structure B = Make(struct end)
7
8 fun main (x : A.t) (y : B.t) : transaction page =
9 return <xml/>