Any idea why K2 shows this warning for the code be...
# k2-adopters
e
Any idea why K2 shows this warning for the code below -
Expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types
Copy code
@Composable
private inline fun OnboardingWelcomeTheme(
  isAppSplashHidden: Boolean,
  crossinline content: @Composable BoxScope.() -> Unit
)
i
I failed to reproduce the problem. Can you attach a sample project?
e
Will do
🙏 1
d
This is a bug in compiler caused to different implementation of Compose support in K1 and K2 This warnings checks for regular functional and suspend functional types And in K2 composable functions are not just
kotlin.FunctionN
with annotation, but
android.ComposableFunctionN
Please report an issue
e
Should this issue be reported in YouTrack or issuetracker?
d
Youtrack