View Issue Details

IDProjectCategoryView StatusLast Update
00305072.x IDE BugsSyntax ErrorsPublic2019-08-30 12:29
ReporterStewart BishopAssigned ToRussell Kay 
PriorityLowSeverityC - GeneralReproducibility100%
Status AssignedResolutionOpen 
Product Version2.2.2 
Target VersionFixed in Version 
Summary0030507: Syntax Errors: Variables used in a macro definition (and only in a macro definition) are flagged as unreferenced
DescriptionIf you create a macro definition with a variable and that variable is only used in the macro definition it throws the warning when it shouldn't

#macro TEST global.test
#macro NEVER_USED global.test // bug 1: no warning

global.test = 0; // bug 2: "variable test only referenced once"
TEST = 1;
Steps To Reproduce1) Put the above code in the room creation code
2) See that you get a warning for the global variable even though it is referenced
2.x IDE Found In2.2.2.393
2.x Runtime Found In2.2.2.308
2.x IDE Verified In
2.x Runtime Verified In


There are no notes attached to this issue.