Emit error when type param declaration shadows global type name