comparison tests/cancel.ur @ 1582:dfb38a333816

Harmonize have/need terminology in error messages; display canceled record summaries on errors
author Adam Chlipala <adam@chlipala.net>
date Thu, 27 Oct 2011 08:36:31 -0400
parents
children
comparison
equal deleted inserted replaced
1581:1ced338f691a 1582:dfb38a333816
1 type t = {A : int, B : float, C : string}
2 type u = {A : int, C : string, D : bool}
3
4 fun f (x : t) = x
5 fun g (x : u) = f x
6
7 fun h [ts] [ts ~ [A]] (r : $([A = int] ++ ts)) : $([A = int, B = float] ++ ts) = r