mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-20 08:58:00 +02:00
Merge pull request #115 from mandrelavoie/change-mention-of-stack-keyword-to-scope-in-error-message
Changed mention of 'stack' to 'scope' in error msg
This commit is contained in:
commit
470cf589ce
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue