Mercurial > urweb
view 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 |
line wrap: on
line source
type t = {A : int, B : float, C : string} type u = {A : int, C : string, D : bool} fun f (x : t) = x fun g (x : u) = f x fun h [ts] [ts ~ [A]] (r : $([A = int] ++ ts)) : $([A = int, B = float] ++ ts) = r