View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0030283 | 2.x IDE Bugs | Compiling | Public | 2018-12-04 16:00 | 2019-01-31 10:59 |
Reporter | Stewart Bishop | Assigned To | Russell Kay | ||
Priority | Low | Severity | C - General | Reproducibility | 100% |
Status | Closed | Resolution | Fixed | ||
Product Version | 2.2.1 | ||||
Target Version | 2.2.2 | Fixed in Version | 2.2.2 | ||
Summary | 0030283: Compiling: Defining a macro twice in different locations doesn't throw a compile error | ||||
Description | If you define a macro in two different scripts with different values your game will compile and whichever macro was the last to be parsed will be the value which is used in-game. This is different to Enums, in that when you define an Enum in two different scripts you'll get a compile error saying it has already been defined. | ||||
Steps To Reproduce | 1) Run the sample project 2) See that the output for the macro is the same twice even though a user would probably expect both to be different | ||||
Tags | compiling | ||||
2.x IDE Found In | 9.2.1.1639 | ||||
2.x Runtime Found In | 9.9.1.1270 | ||||
2.x IDE Verified In | 2.2.2.390 | ||||
2.x Runtime Verified In | 2.2.2.302 | ||||