Skip to content

Commit d6fb5ac

Browse files
authored
extern(C++) classes have no base class unless specified.
1 parent 664547b commit d6fb5ac

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spec/expression.dd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,6 @@ $(H3 $(LNAME2 super, super))
16751675
cast to $(D this)'s base class.
16761676
It is an error if there is no base class.
16771677
It is an error to use the $(D super) reference outside a non-static class member function.
1678-
(Only class $(D Object) has no base class.)
16791678
If a member function is called with an explicit reference
16801679
to $(D super), a non-virtual call is made.
16811680
)

0 commit comments

Comments
 (0)