Handle class destructors correctly in metadata
This allows destructors to be inlined, which is necessary since classes can have both ty params and destructors.
This commit is contained in:
parent
e9fc19c3c2
commit
aa9d2d88d3
8 changed files with 91 additions and 26 deletions
|
@ -730,7 +730,8 @@ enum inlined_item {
|
|||
ii_item(@item),
|
||||
ii_method(def_id /* impl id */, @method),
|
||||
ii_native(@native_item),
|
||||
ii_ctor(class_ctor, ident, [ty_param], def_id /* parent id */)
|
||||
ii_ctor(class_ctor, ident, [ty_param], def_id /* parent id */),
|
||||
ii_dtor(class_dtor, ident, [ty_param], def_id /* parent id */)
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue