Remove toInt() from rendering IntValue
This commit is contained in:
@@ -5,7 +5,7 @@ internal final class ClassObjectDeclaresProperty {
|
||||
|
||||
internal class object <class-object-for-ClassObjectDeclaresProperty> {
|
||||
/*primary*/ private constructor <class-object-for-ClassObjectDeclaresProperty>()
|
||||
internal final val i: kotlin.Int = 1.toInt()
|
||||
internal final val i: kotlin.Int = 1
|
||||
internal final fun <get-i>(): kotlin.Int
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,12 +2,12 @@ package test
|
||||
|
||||
internal final class A {
|
||||
/*primary*/ public constructor A()
|
||||
internal final val other: kotlin.Int = 1.toInt()
|
||||
internal final val other: kotlin.Int = 1
|
||||
internal final fun <get-other>(): kotlin.Int
|
||||
|
||||
internal class object <class-object-for-A> {
|
||||
/*primary*/ private constructor <class-object-for-A>()
|
||||
internal final val some: kotlin.Int = 1.toInt()
|
||||
internal final val some: kotlin.Int = 1
|
||||
internal final fun <get-some>(): kotlin.Int
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -5,12 +5,12 @@ internal final class Test {
|
||||
|
||||
internal class object <class-object-for-Test> {
|
||||
/*primary*/ private constructor <class-object-for-Test>()
|
||||
public final val prop1: kotlin.Int = 10.toInt()
|
||||
public final val prop1: kotlin.Int = 10
|
||||
public final fun <get-prop1>(): kotlin.Int
|
||||
public final var prop2: kotlin.Int
|
||||
public final fun <get-prop2>(): kotlin.Int
|
||||
protected final fun <set-prop2>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
|
||||
public final val prop3: kotlin.Int = 12.toInt()
|
||||
public final val prop3: kotlin.Int = 12
|
||||
public final fun <get-prop3>(): kotlin.Int
|
||||
internal final var prop4: kotlin.Int
|
||||
internal final fun <get-prop4>(): kotlin.Int
|
||||
|
||||
+2
-2
@@ -4,12 +4,12 @@ internal trait Test {
|
||||
|
||||
internal class object <class-object-for-Test> {
|
||||
/*primary*/ private constructor <class-object-for-Test>()
|
||||
public final val prop1: kotlin.Int = 10.toInt()
|
||||
public final val prop1: kotlin.Int = 10
|
||||
public final fun <get-prop1>(): kotlin.Int
|
||||
public final var prop2: kotlin.Int
|
||||
public final fun <get-prop2>(): kotlin.Int
|
||||
protected final fun <set-prop2>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
|
||||
public final val prop3: kotlin.Int = 12.toInt()
|
||||
public final val prop3: kotlin.Int = 12
|
||||
public final fun <get-prop3>(): kotlin.Int
|
||||
internal final var prop4: kotlin.Int
|
||||
internal final fun <get-prop4>(): kotlin.Int
|
||||
|
||||
Reference in New Issue
Block a user