Skip to content

Commit ef95af0

Browse files
committed
Correct rule about Object/Object? being a superinterface
1 parent 004e8cd commit ef95af0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

accepted/future-releases/extension-types/feature-specification.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,9 +1110,8 @@ Assume that _DV_ is an extension type declaration named `Name`, and
11101110
`V1` occurs as one of the `<type>`s in the `<interfaces>` of _DV_. In
11111111
this case we say that `V1` is a _superinterface_ of _DV_.
11121112

1113-
If _DV_ does not include an `<interfaces>` clause then _DV_ has
1114-
`Object?` or `Object` as a direct superinterface, according to the subtype
1115-
relation which was specified earlier.
1113+
_DV_ has `Object?` or `Object` as a direct superinterface, according to the
1114+
subtype relation which was specified earlier.
11161115

11171116
A compile-time error occurs if `V1` is a type name or a parameterized type
11181117
which occurs as a superinterface in an extension type declaration _DV_, and

0 commit comments

Comments
 (0)