Skip to content

Commit ba31ae3

Browse files
authored
update export.md: clarify that constructor proxies are exported
Currently, the docs say: > A member is eligible if all of the following holds: > ... > it is not a constructor, nor the (synthetic) class part of an object, However, constructor proxies are exported and they are synthetic related: #11128
1 parent 408e6d2 commit ba31ae3

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ A member is _eligible_ if all of the following holds:
6969
a base class of the class containing the export clause.
7070
- it is accessible at the export clause,
7171
- it is not a constructor, nor the (synthetic) class part of an object,
72+
- it is a constructor proxy
7273
- it is a given instance (declared with `given`) if and only if the export is from a _given selector_.
7374

7475
It is a compile-time error if a simple or renaming selector does not identify any eligible members.

0 commit comments

Comments
 (0)