From 9964ec808097583d090ea516ce2e6ed5bbc18203 Mon Sep 17 00:00:00 2001 From: Robert Stoll Date: Wed, 26 Feb 2020 09:30:59 +0100 Subject: [PATCH] doc(export): add link to note --- docs/docs/reference/other-new-features/export.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs/reference/other-new-features/export.md b/docs/docs/reference/other-new-features/export.md index 481f255d966f..11ed1c55c229 100644 --- a/docs/docs/reference/other-new-features/export.md +++ b/docs/docs/reference/other-new-features/export.md @@ -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, @@ -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. + (\*) Note: Unless otherwise stated, the term "class" in this discussion also includes object and trait definitions. ### Motivation