Skip to content

Commit dc60c40

Browse files
authored
Merge pull request #13339 from unkarjedy/patch-7
update export.md: clarify that constructor proxies are exported
2 parents 408e6d2 + 580ebd8 commit dc60c40

File tree

1 file changed

+4
-0
lines changed
  • docs/docs/reference/other-new-features

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ of one of the following forms:
6161
- A _given selector_ `given x` has an optional type bound `x`. It creates aliases for all eligible given instances that conform to either `x`, or `Any` if `x` is omitted, except for members that are named by a previous simple, renaming, or omitting selector.
6262
- A _wildcard selector_ `*` creates aliases for all eligible members of `path` except for given instances,
6363
synthetic members generated by the compiler and those members that are named by a previous simple, renaming, or omitting selector.
64+
\
65+
Notes:
66+
- eligible construtor proxies are also included, even though they are synthetic members.
67+
- members created by an export are also included. They are created by the compiler, but are not considered synthetic.
6468

6569
A member is _eligible_ if all of the following holds:
6670

0 commit comments

Comments
 (0)