mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 22:34:09 +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
|
@ -15271,7 +15271,7 @@ void BfExprEvaluator::DoInvocation(BfAstNode* target, BfMethodBoundExpression* m
|
|||
|
||||
if (isCascade)
|
||||
{
|
||||
if (outCascadeValue != NULL)
|
||||
if ((outCascadeValue != NULL) && (thisValue.mValue))
|
||||
{
|
||||
*outCascadeValue = thisValue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue