nameBase GHC.Types.~ returns "~", not "(~)"

I'm not sure if this is rarely used code, the behavior changed with different versions of GHC, or something else.