1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

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

This commit is contained in:
Marc-André Lavoie 2020-04-08 22:32:49 -04:00
parent 51a01cc212
commit 965e71e8e5

View file

@ -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();
}