Suggestions from expression itself to have higher priority + fixed incorect upper case naming

This commit is contained in:
Valentin Kipyatkov
2015-06-26 22:03:06 +03:00
parent 4a52247ab7
commit db144a6121
35 changed files with 72 additions and 80 deletions
@@ -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)
}