From 97c119cbc70730813ae6cfdc2184c17ca51dca9e Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Thu, 2 Jan 2025 14:21:48 -0800 Subject: [PATCH] Fixed calling @-prefixed methods --- IDEHelper/Compiler/BfExprEvaluator.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IDEHelper/Compiler/BfExprEvaluator.cpp b/IDEHelper/Compiler/BfExprEvaluator.cpp index cd0b158a..7750ff16 100644 --- a/IDEHelper/Compiler/BfExprEvaluator.cpp +++ b/IDEHelper/Compiler/BfExprEvaluator.cpp @@ -18966,6 +18966,9 @@ void BfExprEvaluator::DoInvocation(BfAstNode* target, BfMethodBoundExpression* m return; } + if (targetFunctionName.StartsWith('@')) + targetFunctionName.Remove(0, 1); + //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