1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed mixins parameter mutability with splattables

This commit is contained in:
Brian Fiete 2020-12-26 07:36:26 -08:00
parent 00b8bb59a7
commit ff6c7c5b90
3 changed files with 4 additions and 1 deletions

View file

@ -16848,7 +16848,7 @@ void BfModule::ProcessMethod_SetupParams(BfMethodInstance* methodInstance, BfTyp
{
paramVar->mIsSplat = true;
}
else if (resolvedType->IsComposite() && resolvedType->IsSplattable())
else if ((resolvedType->IsComposite()) && (resolvedType->IsSplattable()))
{
if ((!mIsConstModule) && (methodInstance->AllowsSplatting()))
{