Commit f4a0b25e authored by Martin Clochard's avatar Martin Clochard
Browse files

bad-typing: new counter-example for variants (follows from 101b1f51)

parent d79732e4
(* Different instances of a polymorphic relation. *)
module M
use import list.List
predicate rel (a b:list 'a)
let rec aux (a:list int) : unit
variant { a with rel }
= aux2 Nil
with aux2 (a:list unit) : unit
variant { a with rel }
= aux Nil
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment