KT-6044 J2K: Convert numeric float literals to 0.2f instead of 0.2.toFloat() + more fixes related to literals and type transformations

#KT-6044 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-03-27 17:43:30 +03:00
parent 5454f7053f
commit 39f94d7d45
22 changed files with 291 additions and 135 deletions
@@ -1,4 +1,4 @@
val a = 0
val b = 0
val c = 0
val ds = doubleArray(a.toDouble(), b.toDouble(), c.toDouble())
val a = 0.0
val b = 0.0
val c = 0.0
val ds = doubleArray(a, b, c)