FStar icon indicating copy to clipboard operation
FStar copied to clipboard

Assertion failure when implicit argument of annotation can't be deduced

Open TWal opened this issue 2 years ago • 0 comments

See the code below:

let test_annot (#a:Type0) (x:int) = ()

type test_type = {
  [@@@ test_annot 1337]
  x: int;
}

It gives the following error:

ASSERTION FAILURE: (<input>(6,7-6,17)) CheckNoUvars: Unexpected unification variable remains: (*?u3*) _
F* may be in an inconsistent state.
Please file a bug report, ideally with a minimized version of the program that triggered the error.

TWal avatar Apr 29 '22 11:04 TWal