Make parse-type raise the right error for incorrect use of ->.