After updating to Kotlin 1.5 we receive this lint error, but actually being a false positive.
Error: Wrong argument type for formatting argument '#1' in connectingPlaces() took %d ms: conversion is 'd', received Object (argument #2 in method call) [TimberArgTypes]
Timber.d("connectingPlaces() took %d ms", connectingPlaces)
Relevant code:
val connectingPlaces = measureTimeMillis {
// ...
}
Timber.d("connectingPlaces() took %d ms", connectingPlaces)
After updating to Kotlin 1.5 we receive this lint error, but actually being a false positive.
Relevant code: