Page MenuHomeFeedback Tracker

Misplaced operators compile with no message to notify of possible issues
Assigned, UrgentPublic

Description

int valueA = 0;
int valueB = 3;

valueA == valueB;

Issue: Enforce Script will give no indication that there may be a problem with the above code. The problem is there is a compare operator when there should be an assignment operator.

Suggested Fix: In C++, the GCC compiler will output the warning warning: statement has no effect [-Wunused-value], Enforce Script should do the same.

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Additional Information

Please also forward this to the Enfusion Scripting team so this can be fixed for future titles.

Event Timeline

Jacob_Mango updated the task description. (Show Details)Oct 2 2021, 10:31 AM
Geez changed the task status from New to Assigned.Oct 4 2021, 1:33 PM