Parser doesn't deal with (<expression>)::<type> correctly.

The following tests have the form <expression>::<type> and succeed:

join-with-type
select-with-type
where-with-type

The following tests have the form (<expression>)::<type> and fail

join-with-paren-type
select-with-paren-type
where-with-paren-type