Aviox
Member
Does anyone know about weird syntax errors like this?
It isn't breaking anything, but I can't get rid of it and it keeps grabbing focus when in other tabs in the bottom pane.
There's nothing of interest at that line and location. If I change code around in that event, the location of this error doesn't change. Meaning it can literally point to an empty line.
I've tried renaming the object something more standard (e.g. "o_System"), and the error re-appears with the new object name.
I'm assuming it's a bug in the IDE that staff may want to look at.
It appears both in the release of v2.3.0.529 and in the beta v23.1.1.175
Proof it's flagging on nothing (even after restarting the IDE):
Code:
System Event: Create at line 8, 14 : Exception while parsing System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
Parameter name: startIndex
at System.String.Substring(Int32 startIndex, Int32 length)
at YoYoStudio.TextEditor.GMLASTCreator.(YYGMLAstNode )
at YoYoStudio.TextEditor.GMLASTCreator.(YYGMLAstNode )
at YoYoStudio.TextEditor.GMLASTCreator.()
System
is the name of an object.It isn't breaking anything, but I can't get rid of it and it keeps grabbing focus when in other tabs in the bottom pane.
There's nothing of interest at that line and location. If I change code around in that event, the location of this error doesn't change. Meaning it can literally point to an empty line.
I've tried renaming the object something more standard (e.g. "o_System"), and the error re-appears with the new object name.
I'm assuming it's a bug in the IDE that staff may want to look at.
It appears both in the release of v2.3.0.529 and in the beta v23.1.1.175
Proof it's flagging on nothing (even after restarting the IDE):