fix: quantification of And types

This commit is contained in:
Shunsuke Shibayama 2023-08-02 10:45:07 +09:00
parent 5072695b16
commit c63000f153
3 changed files with 17 additions and 2 deletions

View file

@ -1509,6 +1509,7 @@ impl Context {
mode,
not_found_is_qvar,
)?;
// no quantification at this point (in `generalize_t`)
Ok(subr_t(
SubrKind::from(subr.arrow.kind),
non_defaults,