Update manual.md (#20277)
This commit is contained in:
parent
a52918a994
commit
9ca6345122
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue