mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed invalid generic inference from generic constraints
This commit is contained in:
parent
4189d10f41
commit
03e28f3add
4 changed files with 35 additions and 3 deletions
|
@ -138,12 +138,14 @@ public:
|
|||
BfTypeVector* mCheckMethodGenericArguments;
|
||||
SizedArray<BfIRValue, 4> mPrevArgValues;
|
||||
int mInferredCount;
|
||||
bool mIgnoreMethodGenericParam;
|
||||
|
||||
public:
|
||||
BfGenericInferContext()
|
||||
{
|
||||
mModule = NULL;
|
||||
mInferredCount = 0;
|
||||
mIgnoreMethodGenericParam = false;
|
||||
}
|
||||
bool InferGenericArgument(BfMethodInstance* methodInstance, BfType* argType, BfType* wantType, BfIRValue argValue);
|
||||
int GetUnresolvedCount()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue