Compile Time Changes

Changes to UnitLoad

In UnitLoad, the public field name has been replaced by a private field _name together with public getter and setter methods.

    Old : public str name;
    New : private str _name;
    New : extend public str name() {
    New : extend public str name=(str newName) {

By default, the setter method for _name will trigger mtbhCache() to be rehashed if the unit load is in the cache. This is because unit load name is used in the hash function of mtbhCache() and therefore the hash needs to be updated when name is changed.

    extend public str name=(str newName) {
        bool rehashCache = this in mtbhCache();
        str res = _name = newName;
        if (rehashCache) mhRehashUnitLoadCache();
        return res;
    }