mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Improved method selection with unspecialized arguments
This commit is contained in:
parent
1fc6b31ffa
commit
ae89a29fd8
3 changed files with 132 additions and 85 deletions
|
@ -175,6 +175,7 @@ public:
|
|||
bool* outNewIsBetter, bool* outNewIsWorse, bool allowSpecializeFail);
|
||||
void FlushAmbiguityError();
|
||||
bool IsType(BfTypedValue& val, BfType* type);
|
||||
int GetMostSpecificType(BfType* lhs, BfType* rhs); // 0, 1, or -1
|
||||
|
||||
public:
|
||||
BfMethodMatcher(BfAstNode* targetSrc, BfModule* module, const StringImpl& methodName, SizedArrayImpl<BfResolvedArg>& arguments, BfSizedArray<ASTREF(BfTypeReference*)>* methodGenericArguments);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue