mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +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);
|
||||
if (resolveThisParam == NULL)
|
||||
return false;
|
||||
if (!mModule->CanCast(mTarget, resolveThisParam))
|
||||
if (!mModule->CanCast(mTarget, resolveThisParam, BfCastFlags_Explicit))
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue