stage2: sentinel comp during peer type resolution should use elem type

We were using the array type, not the element type. Also, we should do
the sentinel comparison after we verify that the element types of both
are compatible.
a7ca40b281Mitchell Hashimoto committed on 2/28/2022, 9:27:16 PM· committed by Andrew Kelleyparentd1a4654
2 files changedLine totals unavailable