Fixed false positive #5535: Reference named like its type.