fix compiler crash in CalculateQualifiedNamesTransform