mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-11 04:52:21 +02:00
Changed mention of 'stack' to 'scope' in error msg
This commit is contained in:
parent
51a01cc212
commit
965e71e8e5
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue