Kotlin code:
fun main(args: Array<String>) {
val a = 42.9
println("${a::class.simpleName}")
}
Java Decompile code:
public static final void main(@NotNull String[] args) {
Intrinsics.checkNotNullParameter(args, "args");
double a = 42.9D;
String var3 = String.valueOf(Reflection.getOrCreateKotlinClass(Double.TYPE).getSimpleName());
boolean var4 = false;
System.out.println(var3);
}
For what “boolean var4 = false” ???