<https://discuss.kotlinlang.org/t/publishedapi-pri...
# forum
r
`@PublishedAPI private fun` Why does @PublishedAPI only work for internal functions? I have a file-private function I want use from an inline function. I need to make it internal in order to work with @PublishedAPI. But I don’t want to expose this function to the rest of the module. I understand this has to do with java interoperability. This is a complex topic for me since I write 100% kotlin now, and never have to deal with java. In <a...