You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiled with both -Yexplicit-nulls and -Ysafe-init, both fields are null:
A.x ==nullB.y ==null
Expectation
I expected this not to compile. I'm not sure if detecting such cycles is in scope for -Ycheck-init, but the documentation for explicit nulls suggests that -Ycheck-init catches the unsoundness caused by null in initialization.