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
@@ -0,0 +1,2 @@
|
||||
//expression
|
||||
-(++i)+(++i)-(--i)+(--i)
|
||||
@@ -0,0 +1 @@
|
||||
-++i + ++i - --i + --i
|
||||
+5
@@ -4080,6 +4080,11 @@ public class NewJavaToKotlinConverterSingleFileTestGenerated extends AbstractNew
|
||||
public void testParenthesized2() throws Exception {
|
||||
runTest("nj2k/testData/newJ2k/parenthesizedExpression/parenthesized2.java");
|
||||
}
|
||||
|
||||
@TestMetadata("parenthesized3.java")
|
||||
public void testParenthesized3() throws Exception {
|
||||
runTest("nj2k/testData/newJ2k/parenthesizedExpression/parenthesized3.java");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("nj2k/testData/newJ2k/polyadicExpression")
|
||||
|
||||
Reference in New Issue
Block a user