Suggestions from expression itself to have higher priority + fixed incorect upper case naming
This commit is contained in:
+2
-2
@@ -8,6 +8,6 @@ fun foo(t: T): Int {
|
||||
fun bar(x: Int = foo(T(T(2).t + 1)))
|
||||
|
||||
fun test() {
|
||||
val i = T(2).t
|
||||
foo(T(i + 1))
|
||||
val t = T(2).t
|
||||
foo(T(t + 1))
|
||||
}
|
||||
@@ -7,6 +7,6 @@ fun foo(i: Int): Int {
|
||||
fun test() {
|
||||
var x = 1
|
||||
val i = ++x
|
||||
val i1 = x++
|
||||
foo(i * i1)
|
||||
val x1 = x++
|
||||
foo(i * x1)
|
||||
}
|
||||
Reference in New Issue
Block a user