File tree 1 file changed +3
-3
lines changed
docs/painless/painless-lang-spec
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1204,7 +1204,7 @@ The following table illustrates the resultant bit from the xoring of two bits.
1204
1204
1205
1205
[source,ANTLR4]
1206
1206
----
1207
- bitwise_and : expression '^' expression;
1207
+ bitwise_xor : expression '^' expression;
1208
1208
----
1209
1209
1210
1210
*Promotion*
@@ -1284,7 +1284,7 @@ The following table illustrates the resultant bit from the oring of two bits.
1284
1284
1285
1285
[source,ANTLR4]
1286
1286
----
1287
- bitwise_and : expression '|' expression;
1287
+ bitwise_or : expression '|' expression;
1288
1288
----
1289
1289
1290
1290
*Promotion*
@@ -1336,4 +1336,4 @@ def y = x ^ 8; <2>
1336
1336
implicit cast `def` to `int 7`;
1337
1337
bitwise or `int 7` and `int 8` -> `int 15`;
1338
1338
implicit cast `int 15` to `def` -> `def`;
1339
- store `def` to `y`
1339
+ store `def` to `y`
You can’t perform that action at this time.
0 commit comments