mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fixed invalid cast for params
This commit is contained in:
parent
75a5a3695b
commit
28783a6b5a
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ bool BfConstResolver::PrepareMethodArguments(BfAstNode* targetSrc, BfMethodMatch
|
|||
isDirectPass = true;
|
||||
}
|
||||
|
||||
if (!isDirectPass)
|
||||
if ((!isDirectPass) && (wantType->IsArray()))
|
||||
{
|
||||
BfArrayType* arrayType = (BfArrayType*)wantType;
|
||||
if (arrayType->IsIncomplete())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue