mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed generic inference issue
This commit is contained in:
parent
8435caf340
commit
df2c110de2
1 changed files with 2 additions and 0 deletions
|
@ -1351,6 +1351,8 @@ BfTypedValue BfMethodMatcher::ResolveArgTypedValue(BfResolvedArg& resolvedArg, B
|
|||
exprEvaluator.mExpectingType = expectType;
|
||||
exprEvaluator.Evaluate(resolvedArg.mExpression);
|
||||
argTypedValue = exprEvaluator.GetResult();
|
||||
if ((argTypedValue) && (argTypedValue.mType->IsVar()))
|
||||
argTypedValue = BfTypedValue();
|
||||
|
||||
if (mModule->mCurMethodState != NULL)
|
||||
mModule->mCurMethodState->mNoBind = prevNoBind;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue