Checked the desugared type when visiting pointer types.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>