1
0
Fork 0
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:
Brian Fiete 2020-01-24 10:36:22 -08:00
parent 1f77412536
commit fd64aa64d9
12 changed files with 92 additions and 87 deletions

View file

@ -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;
}