Fix for KT-5312 J2K: Correct bit operations priority after conversion
Now `PolyadicExpression` breaks down to BinaryExpression`s
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
//expression
|
||||
5 << 16 | 0 >> 8 | 1
|
||||
@@ -0,0 +1 @@
|
||||
5 shl 16 or (0 shr 8) or 1
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
//expression
|
||||
/*pre*/ 5 /*operand '5'*/ << /*left shift*/ 16 /*operand '16'*/ | /*or*/ 1 /*operand '1'*/ >> /*right shift*/ 8 /*operand '8'*/ | /*or*/ 0 /*operand '0'*/ /*post comment*/
|
||||
+1
@@ -0,0 +1 @@
|
||||
/*pre*/ 5 /*operand '5'*/ shl /*left shift*/ 16 or /*or*/ (1 /*operand '1'*/ shr /*right shift*/ 8 /*operand '8'*/) or /*or*/ 0 /*operand '0'*/ /*post comment*/
|
||||
Reference in New Issue
Block a user