Skip to content

Commit fb60ce7

Browse files
Update VariableDefinitionContext.cs
1 parent 3708d4a commit fb60ce7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Code/ContextSystem/Contexts/VariableDefinition/VariableDefinitionContext.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using SER.Code.ContextSystem.BaseContexts;
2-
using SER.Code.ContextSystem.Contexts;
32
using SER.Code.ContextSystem.Structures;
43
using SER.Code.Exceptions;
54
using SER.Code.Extensions;
@@ -74,7 +73,7 @@ protected override IEnumerator<float> Execute()
7473
if (_expression.GetValue().SuccessTryCast<TValue>().HasErrored(out var error, out var tValue))
7574
{
7675
throw new ScriptRuntimeError(this,
77-
$"Value returned by '{FriendlyName}' cannot be assigned to the '{varToken.RawRep}' variable: {error}"
76+
$"Value returned by {FriendlyName} cannot be assigned to the '{varToken.RawRep}' variable: {error}"
7877
);
7978
}
8079

0 commit comments

Comments
 (0)