Fix a subtype unification bug

This commit is contained in:
Shunsuke Shibayama 2022-12-22 17:56:42 +09:00
parent 27e5a1602d
commit af3ece6a1b
6 changed files with 74 additions and 20 deletions

View file

@ -1153,6 +1153,9 @@ impl Context {
}
}
if errs.is_empty() {
/*if subr.has_qvar() {
panic!("{subr} has qvar");
}*/
Ok(None)
} else {
Err(errs)