Skip to content

Commit 639288d

Browse files
authored
Merge pull request #13327 from unkarjedy/patch-6
update export.md: clarify how extensions are exported
2 parents 28c7d4e + 5e9b86e commit 639288d

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ A member is _eligible_ if all of the following holds:
7878
It is a compile-time error if a simple or renaming selector does not identify any eligible members.
7979

8080
Type members are aliased by type definitions, and term members are aliased by method definitions. Export aliases copy the type and value parameters of the members they refer to.
81-
Export aliases are always `final`. Aliases of given instances are again defined as givens (and aliases of old-style implicits are `implicit`). Aliases of inline methods or values are again defined `inline`. There are no other modifiers that can be given to an alias. This has the following consequences for overriding:
81+
Export aliases are always `final`. Aliases of given instances are again defined as givens (and aliases of old-style implicits are `implicit`). Aliases of extensions are again defined as extensions. Aliases of inline methods or values are again defined `inline`. There are no other modifiers that can be given to an alias. This has the following consequences for overriding:
8282

8383
- Export aliases cannot be overridden, since they are final.
8484
- Export aliases cannot override concrete members in base classes, since they are

0 commit comments

Comments
 (0)