View Issue Details

IDProjectCategoryView StatusLast Update
00305072.x IDE BugsSyntax ErrorsPublic2020-03-09 15:08
ReporterStewart BishopAssigned ToRussell Kay 
PriorityLowSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Product Version2.2.2 
Target VersionFixed in VersionInternal Build 
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 In9.2.1.2152
2.x Runtime Verified In9.9.1.1717


Russell Kay

2020-03-05 17:12

Manager   ~0065440

Fixed in github


2020-03-09 15:08

Adminstrator   ~0065472

Verified fixed on IDE v9.2.1.2152 Runtime v9.9.1.1717.
Closing the bug. Thank you.