disallow (x as primitive_type) casts - they have no point