blob: c92a4cbcc831bfa978d62b26d3127c8a9d65fe69 [file]
// DUMP_IR
@file:OptIn(ExperimentalStdlibApi::class)
package example
import androidx.compose.runtime.Composable
class C {
@Composable
fun foo(
a: Int,
@IntroducedAt("1") b: String = "hello",
@IntroducedAt("2") c: Boolean = true,
) = "$a/$b/$c"
}
@Composable
fun bar(
a: Int,
@IntroducedAt("1") b: String = "hello",
@IntroducedAt("2") c: Boolean = true,
) = "$a/$b/$c"
@Composable
fun test() {
val c = C()
c.foo(1)
c.foo(1, "bye")
c.foo(1, "bye", false)
bar(1)
bar(1, "bye")
bar(1, "bye", false)
}