Closed philberty closed 3 years ago
Good Evening, I want to fix the issue but this is my first step towards contributing in open source project. Please let me know about this issue. Thanks in advance..
Hi @RuchiGitHu thanks for your interest. Please be aware in this project we require contributors to follow the copyright assignment process https://gcc.gnu.org/contribute.html
There are 2 parts to this issue.
Some more thought is needed once this block of work is in as to where we use this instead of calling combine to unify types.
Hope this helps.
Thanks @philberty for the information you provided to me. I will try to fix it.
Fixed in #238
Currently to check if types are equal or can be unified we call combine. This is inefficient for many cases like FnTypes we want a strict is_equal check.
We can add this as an abstract method to the TyTy::TyBase, it might be worth renaming this class at the same time as the name bugs me.