Skip to content

Commit 64f79d0

Browse files
committed
Add reference to Kotlin's PublishedApi
1 parent f1dbf18 commit 64f79d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

content/binary-api.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,5 +269,8 @@ The drawback of this approach is that that we would need to force users to keep
269269
* Initial proof of concept (outdated): [https://github.com/lampepfl/dotty/pull/16992](https://github.com/lampepfl/dotty/pull/16992)
270270
* Single annotation proof of concept: [https://github.com/lampepfl/dotty/pull/18402](https://github.com/lampepfl/dotty/pull/18402)
271271
* Community migration analysis: [Gist](https://gist.github.com/nicolasstucki/003f7293941836b08a0d53dbcb913e3c)
272+
* Kotlin: [PublishedApi](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-published-api/) plays the same role as `@publicInBinary`
273+
but its interaction with (inline definitions)[https://kotlinlang.org/docs/inline-functions.html#restrictions-for-public-api-inline-functions]
274+
is stricter as they do not support automatic accessor generation.
272275

273276
<!-- ## FAQ -->

0 commit comments

Comments
 (0)