Clean warnings in binary-compatibility-validator cases
This commit is contained in:
+1
@@ -4,6 +4,7 @@ package cases.localClasses
|
|||||||
class L {
|
class L {
|
||||||
internal fun a(lambda: () -> Unit) = lambda()
|
internal fun a(lambda: () -> Unit) = lambda()
|
||||||
|
|
||||||
|
@Suppress("NOTHING_TO_INLINE")
|
||||||
internal inline fun inlineLambda() {
|
internal inline fun inlineLambda() {
|
||||||
a {
|
a {
|
||||||
println("OK")
|
println("OK")
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@ package cases.private
|
|||||||
private const val privateConst: Int = 4
|
private const val privateConst: Int = 4
|
||||||
|
|
||||||
// fun
|
// fun
|
||||||
|
@Suppress("UNUSED_PARAMETER")
|
||||||
private fun privateFun(x: Any) {}
|
private fun privateFun(x: Any) {}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
@@ -10,6 +10,7 @@ private const val privateConst: Int = 4
|
|||||||
|
|
||||||
// fun
|
// fun
|
||||||
|
|
||||||
|
@Suppress("UNUSED_PARAMETER")
|
||||||
private fun privateFun(a: Any?) = privateConst
|
private fun privateFun(a: Any?) = privateConst
|
||||||
|
|
||||||
// access
|
// access
|
||||||
|
|||||||
+2
@@ -1,3 +1,5 @@
|
|||||||
|
@file:Suppress("UNUSED_PARAMETER")
|
||||||
|
|
||||||
package cases.special
|
package cases.special
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user