Implement ValEscape rules for ?? operator (#29985)
* Implement ValEscape rules for ?? operator: - Implement GetValEscape/CheckValEscape for the null coalescing operator - Fixes using a coalescing operator in a return statment causeing an emit failure - Fixes a valid no escaping coalesce assignment being marked as exposing - Add tests for cases that were failing before - Add test for case that should still be invalid
Showing
想要评论请 注册 或 登录