Fix Kotlin stupid bug (KT-47881)
This commit is contained in:
@@ -58,8 +58,6 @@ fun Method.matches(name: String, vararg classes: Class<*>) = this.name == name &
|
||||
(0 until parameterCount).all { i -> parameters[i].type == classes[i] }
|
||||
@RequiresApi(26)
|
||||
inline fun <reified T> Method.matches1(name: String) = matches(name, T::class.java)
|
||||
@RequiresApi(26)
|
||||
inline fun <reified T0, reified T1> Method.matches2(name: String) = matches(name, T0::class.java, T1::class.java)
|
||||
|
||||
fun Context.ensureReceiverUnregistered(receiver: BroadcastReceiver) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user