You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
noeqtypevcode={t:Typeu#2;up:t->int;}letx=truelettt:term=`(Mkvcode?.up)let_=assertTrueby(letg=cur_env()inletu=check_equivgtt(`(matchxwith|true->Mkvcode?.up))inmatchuwith|Someu,_->dump"ok"|_,[]->dump"fail and no issue?"|_,i::is->dump(FStar.Issue.render_issuei))
and
let_=assertTrueby(letg=cur_env()inletu=tc_termg(`(funprojectee->matchprojecteeasproj_retreturnsMkvcode?.tproj_ret->intwith|Mkvcodetup->up))inmatchuwith|Someu,_->dump"ok"|_,[]->dump"fail and no issue?"|_,i::is->dump(FStar.Issue.render_issuei))
both fail with a stack overflow. The bug is in the core typechecker, in the case for a matches with returns annotations. Posting a PR now.
The text was updated successfully, but these errors were encountered:
and
both fail with a stack overflow. The bug is in the core typechecker, in the case for a matches with returns annotations. Posting a PR now.
The text was updated successfully, but these errors were encountered: