Avoid inlining of the Reggie.VERSION constant
|Reported by:||Nicklas Nordborg||Owned by:||Nicklas Nordborg|
An constant string expression (like
Reggie.VERSION) is copied by value to places where it is used during compilation. If it is used by multiple files then there is a potential problem when the constant is changed and the code is re-compiled since normally only the modified files are re-compiled. This may result in different values being used in different parts of Reggie.
Note! This is typically only a problem during development since a release will always compile all source code from scratch. But it can be very annoying...