32c3f85679
This checker doesn't support `@PublishedAPI` yet, so some BB tests for it were muted. #KT-46270
11 lines
320 B
Kotlin
Vendored
11 lines
320 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_EXPRESSION
|
|
inline public fun reg(converter: (Any) -> Any, flag: Boolean) {
|
|
flag
|
|
converter("")
|
|
}
|
|
|
|
public inline fun register(converter: (Any) -> Any) {
|
|
<!USAGE_IS_NOT_INLINABLE!>converter<!> is (Any) -> Any
|
|
reg(converter, <!USAGE_IS_NOT_INLINABLE!>converter<!> is (Any) -> Any)
|
|
}
|