Change function return types to more concise types where possible

This helps avoid needing to call std::move on return values when we know the
type of value is fixed.
This commit is contained in:
Tim Wojtulewicz 2023-11-22 14:45:09 -07:00
parent 424d1c00dd
commit 3295c8f1c1
9 changed files with 22 additions and 20 deletions

View file

@ -2303,7 +2303,7 @@ TypePtr merge_record_types(const Type* t1, const Type* t2) {
return make_intrusive<RecordType>(tdl3);
}
TypePtr merge_list_types(const Type* t1, const Type* t2) {
TypeListPtr merge_list_types(const Type* t1, const Type* t2) {
const TypeList* tl1 = t1->AsTypeList();
const TypeList* tl2 = t2->AsTypeList();