Disallow returning TypedReference in local functions (#30654)
* Check for restricted return types on local functions * Add test for restricted local function returns * Add test for local function ref parameters of restricted types * Add test to demonstrate that local functions can return Span<T>
Showing
想要评论请 注册 或 登录