Skip to content

doc(export): add link to note #8381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/docs/reference/other-new-features/export.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ of one of the following forms:

A member is _eligible_ if all of the following holds:

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

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.

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

### Motivation
Expand Down