mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 15:24:10 +02:00
Fixed calling @-prefixed methods
This commit is contained in:
parent
69fab22a39
commit
97c119cbc7
1 changed files with 3 additions and 0 deletions
|
@ -18966,6 +18966,9 @@ void BfExprEvaluator::DoInvocation(BfAstNode* target, BfMethodBoundExpression* m
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (targetFunctionName.StartsWith('@'))
|
||||||
|
targetFunctionName.Remove(0, 1);
|
||||||
|
|
||||||
//TODO: We removed this... Messed up with PrimStruct 'this' non-mut errors
|
//TODO: We removed this... Messed up with PrimStruct 'this' non-mut errors
|
||||||
|
|
||||||
// We moved this until later in MatchMethod, we want the raw target for the GetType optimization, plus we shouldn't do this until we know we won't do a SkipCall
|
// We moved this until later in MatchMethod, we want the raw target for the GetType optimization, plus we shouldn't do this until we know we won't do a SkipCall
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue