Sema: allow ptr field access on pointer-to-array

Also remove an incorrect piece of logic which allowed fetching the 'len'
property on non-single-ptrs (e.g. many-ptrs) and add a corresponding
compile error test case.

Resolves: #4765
d5f1a8823emlugg committed on 4/20/2023, 4:05:22 PM· committed by Andrew Kelleyparent31b6d14
3 files changedLine totals unavailable