strange, why does the following not compile? ```f...
# announcements
d
strange, why does the following not compile?
Copy code
fun Integer.isEven(): Boolean {
    return (this % 2 == 0)
}
Fails with
Kotlin: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: @InlineOnly public operator inline fun BigDecimal.mod(other: BigDecimal): BigDecimal defined in kotlin