KT-19355 fix for "Variable expected" error after J2K for increment/decrement of an object field
This commit is contained in:
committed by
Ilya Kirillov
parent
748e458ad7
commit
b8cce67d2e
+3
@@ -0,0 +1,3 @@
|
||||
// IS_APPLICABLE: false
|
||||
var x = 0
|
||||
+<caret>(++x)
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
// IS_APPLICABLE: false
|
||||
var x = 0
|
||||
-<caret>(--x)
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
var x = 0
|
||||
+<caret>(--x)
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
var x = 0
|
||||
+--x
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
var x = 0
|
||||
-<caret>(++x)
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
var x = 0
|
||||
-++x
|
||||
}
|
||||
Reference in New Issue
Block a user