docs on new function metadata API

This commit is contained in:
sergeych committed 2026-07-28 00:36:12 +04:00
1 parent 898ebfa536
commit 2f118a1fef
7 files changed
+138 -6

No files matched your search

+1 -1
View File
@@ -1248,7 +1248,7 @@ scopeB()
assertThrows { 42.description }
```
This isolation ensures that libraries can use extensions internally without worrying about name collisions with other libraries or the user's code. When a module is imported using `use`, its top-level extensions become available in the importing scope.
This isolation ensures that libraries can use extensions internally without worrying about name collisions with other libraries or the user's code. When a package is imported using `import`, its top-level extensions become available in the importing scope. An imported extension property's getter and setter retain the lexical scope of the package that declared them, so they can safely call that package's private helpers and bound `extern` functions and properties.
## dynamic symbols