mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 12:24:45 +00:00
Update inquire.rs
This commit is contained in:
parent
81e88b4809
commit
f07878af48
1 changed files with 1 additions and 1 deletions
|
@ -1381,7 +1381,7 @@ impl Context {
|
|||
.super_classes
|
||||
.iter()
|
||||
.chain(ctx.super_traits.iter())
|
||||
.filter_map(|sup| self.get_nominal_type_ctx(sup));
|
||||
.map(|sup| self.get_nominal_type_ctx(sup).expect("compiler bug: sup not found"));
|
||||
Some(vec![ctx].into_iter().chain(sups))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue