Closed
Description
The current rules for assignment compatibility of expressions involving bounds-safe interfaces are missing two cases.
The first case is related to assignments involving nested pointers (see #797). GetCheckedCInteropType should be extended to handle dereferences and pointer arithmetic.
The second case is related to assignments of an unchecked pointer with an _Nt_array_ptr
bounds-safe interface to an _Nt_array_ptr
variable (see #806). The type checker should check the bounds-safe interface of the unchecked pointer in this case.
Metadata
Metadata
Assignees
Labels
No labels