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:
@@ -1,9 +1,8 @@
|
||||
// ERROR: An integer literal does not conform to the expected type kotlin.Double
|
||||
class A {
|
||||
deprecated("")
|
||||
volatile var field1 = 0
|
||||
|
||||
transient var field2 = 1
|
||||
|
||||
strictfp var field3: Double = 2
|
||||
strictfp var field3 = 2.0
|
||||
}
|
||||
Reference in New Issue
Block a user