W2004 Warnings

implicit-type-conversion

implicit type conversion occurring

When this occurs

Automatic type coercion

Example error message

warning[W2004]: implicit conversion from int to float

How to fix

Use explicit type conversion to make the intent clear, or suppress with `@Suppress(W2004)`.

Related errors