Fix a default method polymorphism bug.
This commit is contained in:
parent
172ea83adc
commit
89c4af0ea9
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ pub fn trans_fn_ref_with_vtables(
|
|||
|
||||
let vtables =
|
||||
resolve_default_method_vtables(bcx, impl_id,
|
||||
method, &new_substs, vtables);
|
||||
method, &substs, vtables);
|
||||
|
||||
debug!("trans_fn_with_vtables - default method: \
|
||||
substs = %s, trait_subst = %s, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue