Clean warnings in binary-compatibility-validator cases

This commit is contained in:
Ilya Gorbunov
2017-04-12 09:05:54 +03:00
parent 46cdf0215e
commit 94895c4e4d
4 changed files with 5 additions and 1 deletions
@@ -4,6 +4,7 @@ package cases.localClasses
class L {
internal fun a(lambda: () -> Unit) = lambda()
@Suppress("NOTHING_TO_INLINE")
internal inline fun inlineLambda() {
a {
println("OK")
@@ -7,7 +7,7 @@ package cases.private
private const val privateConst: Int = 4
// fun
@Suppress("UNUSED_PARAMETER")
private fun privateFun(x: Any) {}
@@ -10,6 +10,7 @@ private const val privateConst: Int = 4
// fun
@Suppress("UNUSED_PARAMETER")
private fun privateFun(a: Any?) = privateConst
// access
@@ -1,3 +1,5 @@
@file:Suppress("UNUSED_PARAMETER")
package cases.special