[beta] Do not call check_expr twice in check_compatible
#99397
Closed
check_expr twice in check_compatible
#99397