mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 06:44:10 +02:00
Extension method this cast check fix
This commit is contained in:
parent
0b23446aa8
commit
dae208a28b
1 changed files with 1 additions and 1 deletions
|
@ -2225,7 +2225,7 @@ NoMatch:
|
||||||
auto resolveThisParam = mModule->ResolveGenericType(thisParam, NULL, &mCheckMethodGenericArguments);
|
auto resolveThisParam = mModule->ResolveGenericType(thisParam, NULL, &mCheckMethodGenericArguments);
|
||||||
if (resolveThisParam == NULL)
|
if (resolveThisParam == NULL)
|
||||||
return false;
|
return false;
|
||||||
if (!mModule->CanCast(mTarget, resolveThisParam))
|
if (!mModule->CanCast(mTarget, resolveThisParam, BfCastFlags_Explicit))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue