Update manual.md (#20277)

This commit is contained in:
Clay Sweetser 2022-08-26 16:30:14 -04:00 • committed by GitHub
commit 9ca6345122
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2396,9 +2396,8 @@ If `A` is a subtype of `B` and `A` and `B` are `object` types then:
- `ref A` is a subtype of `ref B` - `ref A` is a subtype of `ref B`
- `ptr A` is a subtype of `ptr B`. - `ptr A` is a subtype of `ptr B`.
**Note**: In later versions of the language the subtype relation might **Note**: One of the above pointer-indirections is required for assignment from
be changed to *require* the pointer indirection in order to prevent a subtype to its parent type to prevent "object slicing".
"object slicing".
Convertible relation Convertible relation