mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-01 05:11:09 +00:00
Fix a subtype unification bug
This commit is contained in:
parent
27e5a1602d
commit
af3ece6a1b
6 changed files with 74 additions and 20 deletions
|
@ -1153,6 +1153,9 @@ impl Context {
|
|||
}
|
||||
}
|
||||
if errs.is_empty() {
|
||||
/*if subr.has_qvar() {
|
||||
panic!("{subr} has qvar");
|
||||
}*/
|
||||
Ok(None)
|
||||
} else {
|
||||
Err(errs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue