Implement constraints on pointer types as input to pattern-matching. (#30968)
A pointer type can match a var pattern (e.g. `var x`), a discard pattern (e.g. `_`), and a constant pattern with the value null (e.g. `null`). No other pattern forms would permit an input of a pointer type. Fixes #30798
Showing
想要评论请 注册 或 登录