Skip to content

Commit 1955f75

Browse files
authored
Merge pull request #8381 from robstoll/patch-36
doc(export): add link to note
2 parents 08f876e + 9964ec8 commit 1955f75

File tree

1 file changed

+2
-1
lines changed
  • docs/docs/reference/other-new-features

1 file changed

+2
-1
lines changed

docs/docs/reference/other-new-features/export.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ of one of the following forms:
5858

5959
A member is _eligible_ if all of the following holds:
6060

61-
- its owner is not a base class of the class(\*) containing the export clause,
61+
- its owner is not a base class of the class[(\*)](#note_class) containing the export clause,
6262
- the member does not override a concrete definition that has as owner
6363
a base class of the class containing the export clause.
6464
- it is accessible at the export clause,
@@ -87,6 +87,7 @@ def f: c.T = ...
8787

8888
Export clauses can appear in classes or they can appear at the top-level. An export clause cannot appear as a statement in a block.
8989

90+
<a id="note_class"></a>
9091
(\*) Note: Unless otherwise stated, the term "class" in this discussion also includes object and trait definitions.
9192

9293
### Motivation

0 commit comments

Comments
 (0)