Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumKotlininline functionsSingle-choice MCQ

Why can a `public` inline function NOT reference a `private` top-level function from the same file?

private fun secret() = 42 inline fun exposed() = secret() // does this compile?