Mercurial > urweb
view tests/cancel.ur @ 2243:da7d026d1a94
Fix possible formula simplification bug with extra formula' type.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Mon, 20 Jul 2015 19:49:13 -0700 |
parents | dfb38a333816 |
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