[Dy2Static]Support return variable created in only one of If.body or If.orelse (#24841)
* Support return variable in only one of if body or else. * remove after_visit in IfElseTransformer. * Modify the result of get_name_ids in test_ifelse_basic.py * Add unittest to test the new case. * Modify code according to reviews.
Showing
想要评论请 注册 或 登录