struct Example{
define isActive = false;
public define IsActive: isActive?true:false;
}
globalvar Example e;
rule: "check e"
if(e.IsActive){
}
should generate the condition
(Value In Array(Global Variable(_objectVariable_0), Global Variable(test)) ? True : False) == True;
but instead generates the condition
Value In Array(Global Variable(_objectVariable_0), Global Variable(test)) ? True : False == True
which is not valid in the workshop.
should generate the condition
(Value In Array(Global Variable(_objectVariable_0), Global Variable(test)) ? True : False) == True;
but instead generates the conditionValue In Array(Global Variable(_objectVariable_0), Global Variable(test)) ? True : False == True
which is not valid in the workshop.