Browse Source

Changed mention of 'stack' to 'scope' in error msg

Marc-André Lavoie 5 years ago
parent
commit
965e71e8e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      IDEHelper/Compiler/BfExprEvaluator.cpp

+ 1 - 1
IDEHelper/Compiler/BfExprEvaluator.cpp

@@ -6812,7 +6812,7 @@ BfTypedValue BfExprEvaluator::MatchMethod(BfAstNode* targetSrc, BfMethodBoundExp
 		{
 			if ((!resolvedTypeInstance->IsStruct()) && (!resolvedTypeInstance->IsTypedPrimitive()))
 			{
-				mModule->Fail("Objects must be allocated through 'new' or 'stack'", targetSrc);
+				mModule->Fail("Objects must be allocated through 'new' or 'scope'", targetSrc);
 				return BfTypedValue();
 			}