FStar icon indicating copy to clipboard operation
FStar copied to clipboard

Loss of argument type refinement when the function is inside a record

Open aseemr opened this issue 3 years ago • 0 comments

@john-ml reports the following failing code:

noeq type fn a b = {
  f: a -> b
}
let extract_left #a #b : fn (x:either a b{Inl? x}) a = {
  f = (fun (Inl x) -> x);
}

aseemr avatar Jun 22 '21 04:06 aseemr