Skip to content

update export.md: clarify that constructor proxies are exported #13339

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
Aug 20, 2021
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
4 changes: 4 additions & 0 deletions docs/docs/reference/other-new-features/export.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ of one of the following forms:
- 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.
- A _wildcard selector_ `*` creates aliases for all eligible members of `path` except for given instances,
synthetic members generated by the compiler and those members that are named by a previous simple, renaming, or omitting selector.
\
Notes:
- eligible construtor proxies are also included, even though they are synthetic members.
- members created by an export are also included. They are created by the compiler, but are not considered synthetic.

A member is _eligible_ if all of the following holds:

Expand Down