mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Made implicit tuple cast check names, fixed explicit tuple cast
This commit is contained in:
parent
1f77412536
commit
fd64aa64d9
12 changed files with 92 additions and 87 deletions
|
@ -240,7 +240,7 @@ bool BfConstResolver::PrepareMethodArguments(BfAstNode* targetSrc, BfMethodMatch
|
|||
{
|
||||
if (!arguments[argIdx].mTypedValue.mValue)
|
||||
return false;
|
||||
if (mModule->CanImplicitlyCast(arguments[argIdx].mTypedValue, wantType))
|
||||
if (mModule->CanCast(arguments[argIdx].mTypedValue, wantType))
|
||||
isDirectPass = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue