浏览代码

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

Marc-André Lavoie 5 年之前
父节点
当前提交
965e71e8e5
共有 1 个文件被更改,包括 1 次插入1 次删除
  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()))
 			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();
 				return BfTypedValue();
 			}
 			}