mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-01 05:11:09 +00:00
Refactor
This commit is contained in:
parent
25094efd17
commit
fb0d2f5737
7 changed files with 23 additions and 25 deletions
|
@ -10,7 +10,7 @@ impl Context {
|
|||
if fv.is_linked() {
|
||||
fv.crack().clone()
|
||||
} else {
|
||||
let (_sub, sup) = fv.crack_bound_types().unwrap();
|
||||
let (_sub, sup) = fv.get_bound_types().unwrap();
|
||||
sup
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue