Reviewed-by: darcy
Redundant warnings are generated when casting from intersection types Reviewed-by: jjg