Fix a bug in lambda type inference for `delegate {...}`. (#13804)
The bug is that, as an optimization, we use 'null' as the delegate type for a parameterless `delegate` lambda, but code elsewhere in the compiler assumes that a null delegate type occurs only in error recovery situations. Fixes #13797
Showing
想要评论请 注册 或 登录