Fixing false positive for constant names with trait aliasing