Community
Participate
Working Groups
When a reference is made to the variable 'unit' in a builder with implicit unit paramater (i.e. a builder defined in a unit), the evaluation of the variable reference ends up using the name of the unit as the name of the variable! When a builder is advised, the unit parameter is explicit, and there is no as the INamedValue is indeed named 'unit'.
Fixed in rev 1242. The fix consists of introduction of an extra interface IVarName that a INamedValue can implement if it wants to be called something else than its intrinsic name. A BuildUnit that is referenced via variables is now always called "unit", and scope determines which unit this is.