mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Added error for using cascade operator on static method
This commit is contained in:
parent
a6f85f53f9
commit
d4ea9bce2b
1 changed files with 2 additions and 2 deletions
|
@ -15270,8 +15270,8 @@ void BfExprEvaluator::DoInvocation(BfAstNode* target, BfMethodBoundExpression* m
|
||||||
mModule->FinishAttributeState(&attributeState);
|
mModule->FinishAttributeState(&attributeState);
|
||||||
|
|
||||||
if (isCascade)
|
if (isCascade)
|
||||||
{
|
{
|
||||||
if (outCascadeValue != NULL)
|
if ((outCascadeValue != NULL) && (thisValue.mValue))
|
||||||
{
|
{
|
||||||
*outCascadeValue = thisValue;
|
*outCascadeValue = thisValue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue