You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
791: Replace TyTy::TupleType::iterate_fields with a new function get_fields r=philberty a=cls
This PR replaces TyTy::TupleType::iterate_fields with a new function get_fields.
In #735, `@philberty` mentions two possible implementations of get_fields, one that returns `std::vector<TyVar>&` and one that returns a new `std::vector<BaseType *>`. I've included two commits, the first doing the former and second going on to do the latter. I'm happy with one or both being merged.
This is my first PR, so please let me know if I've missed anything! Thanks.
Fixes#735
Co-authored-by: Connor Lane Smith <[email protected]>
0 commit comments