Skip to content

Commit 70561ca

Browse files
committed
Kotlin: Add test cases for extension binary operators
1 parent 01f3150 commit 70561ca

File tree

10 files changed

+2502
-2423
lines changed

10 files changed

+2502
-2423
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
| exprs.kt:47:16:47:25 | ... \| ... | No left operand |
2+
| exprs.kt:48:16:48:26 | ... & ... | No left operand |
3+
| exprs.kt:49:16:49:26 | ... ^ ... | No left operand |
4+
| exprs.kt:64:15:64:22 | ... \| ... | No left operand |
5+
| exprs.kt:65:15:65:23 | ... & ... | No left operand |
6+
| exprs.kt:66:15:66:23 | ... ^ ... | No left operand |
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
| exprs.kt:272:52:272:66 | <error expr> | ErrorExpr | unexpected dead end |
2-
| exprs.kt:272:52:272:66 | { ... } | BlockStmt | unexpected dead end |
1+
| exprs.kt:47:5:47:25 | var ...; | LocalVariableDeclStmt | unexpected dead end |
2+
| exprs.kt:48:5:48:26 | var ...; | LocalVariableDeclStmt | unexpected dead end |
3+
| exprs.kt:49:5:49:26 | var ...; | LocalVariableDeclStmt | unexpected dead end |
4+
| exprs.kt:64:5:64:22 | var ...; | LocalVariableDeclStmt | unexpected dead end |
5+
| exprs.kt:65:5:65:23 | var ...; | LocalVariableDeclStmt | unexpected dead end |
6+
| exprs.kt:66:5:66:23 | var ...; | LocalVariableDeclStmt | unexpected dead end |
7+
| exprs.kt:278:52:278:66 | <error expr> | ErrorExpr | unexpected dead end |
8+
| exprs.kt:278:52:278:66 | { ... } | BlockStmt | unexpected dead end |
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
| exprs.kt:47:16:47:25 | ... \| ... | OrBitwiseExpr | 1 | late | 1 |
2+
| exprs.kt:48:16:48:26 | ... & ... | AndBitwiseExpr | 1 | late | 1 |
3+
| exprs.kt:49:16:49:26 | ... ^ ... | XorBitwiseExpr | 1 | late | 1 |
4+
| exprs.kt:64:15:64:22 | ... \| ... | OrBitwiseExpr | 1 | late | 1 |
5+
| exprs.kt:65:15:65:23 | ... & ... | AndBitwiseExpr | 1 | late | 1 |
6+
| exprs.kt:66:15:66:23 | ... ^ ... | XorBitwiseExpr | 1 | late | 1 |
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
unexpectedDiagnostic
2+
| exprs.kt:47:16:47:25 | Dispatch receiver not found | 2022-11-03 15:47:53 Dispatch receiver not found ...while extracting a call (<no name>) at exprs.kt:47:16:47:25\n ...while extracting a expression (<no name>) at exprs.kt:47:16:47:25\n ...while extracting a variable expr (by14) at exprs.kt:47:5:47:25\n ...while extracting a variable (by14) at exprs.kt:47:5:47:25\n ...while extracting a statement (by14) at exprs.kt:47:5:47:25\n ...while extracting a block body (<no name>) at exprs.kt:10:27:142:1\n ...while extracting a body (<no name>) at exprs.kt:10:27:142:1\n ...while extracting a function (topLevelMethod) at exprs.kt:4:1:142:1\n ...while extracting a declaration (topLevelMethod) at exprs.kt:4:1:142:1\n ...while extracting a file (exprs.kt) at exprs.kt:1:1:359:0\n |
3+
| exprs.kt:48:16:48:26 | Dispatch receiver not found | 2022-11-03 15:47:53 Dispatch receiver not found ...while extracting a call (<no name>) at exprs.kt:48:16:48:26\n ...while extracting a expression (<no name>) at exprs.kt:48:16:48:26\n ...while extracting a variable expr (by15) at exprs.kt:48:5:48:26\n ...while extracting a variable (by15) at exprs.kt:48:5:48:26\n ...while extracting a statement (by15) at exprs.kt:48:5:48:26\n ...while extracting a block body (<no name>) at exprs.kt:10:27:142:1\n ...while extracting a body (<no name>) at exprs.kt:10:27:142:1\n ...while extracting a function (topLevelMethod) at exprs.kt:4:1:142:1\n ...while extracting a declaration (topLevelMethod) at exprs.kt:4:1:142:1\n ...while extracting a file (exprs.kt) at exprs.kt:1:1:359:0\n |
4+
| exprs.kt:49:16:49:26 | Dispatch receiver not found | 2022-11-03 15:47:53 Dispatch receiver not found ...while extracting a call (<no name>) at exprs.kt:49:16:49:26\n ...while extracting a expression (<no name>) at exprs.kt:49:16:49:26\n ...while extracting a variable expr (by16) at exprs.kt:49:5:49:26\n ...while extracting a variable (by16) at exprs.kt:49:5:49:26\n ...while extracting a statement (by16) at exprs.kt:49:5:49:26\n ...while extracting a block body (<no name>) at exprs.kt:10:27:142:1\n ...while extracting a body (<no name>) at exprs.kt:10:27:142:1\n ...while extracting a function (topLevelMethod) at exprs.kt:4:1:142:1\n ...while extracting a declaration (topLevelMethod) at exprs.kt:4:1:142:1\n ...while extracting a file (exprs.kt) at exprs.kt:1:1:359:0\n |
5+
| exprs.kt:64:15:64:22 | Dispatch receiver not found | 2022-11-03 15:47:53 Dispatch receiver not found ...while extracting a call (<no name>) at exprs.kt:64:15:64:22\n ...while extracting a expression (<no name>) at exprs.kt:64:15:64:22\n ...while extracting a variable expr (s14) at exprs.kt:64:5:64:22\n ...while extracting a variable (s14) at exprs.kt:64:5:64:22\n ...while extracting a statement (s14) at exprs.kt:64:5:64:22\n ...while extracting a block body (<no name>) at exprs.kt:10:27:142:1\n ...while extracting a body (<no name>) at exprs.kt:10:27:142:1\n ...while extracting a function (topLevelMethod) at exprs.kt:4:1:142:1\n ...while extracting a declaration (topLevelMethod) at exprs.kt:4:1:142:1\n ...while extracting a file (exprs.kt) at exprs.kt:1:1:359:0\n |
6+
| exprs.kt:65:15:65:23 | Dispatch receiver not found | 2022-11-03 15:47:53 Dispatch receiver not found ...while extracting a call (<no name>) at exprs.kt:65:15:65:23\n ...while extracting a expression (<no name>) at exprs.kt:65:15:65:23\n ...while extracting a variable expr (s15) at exprs.kt:65:5:65:23\n ...while extracting a variable (s15) at exprs.kt:65:5:65:23\n ...while extracting a statement (s15) at exprs.kt:65:5:65:23\n ...while extracting a block body (<no name>) at exprs.kt:10:27:142:1\n ...while extracting a body (<no name>) at exprs.kt:10:27:142:1\n ...while extracting a function (topLevelMethod) at exprs.kt:4:1:142:1\n ...while extracting a declaration (topLevelMethod) at exprs.kt:4:1:142:1\n ...while extracting a file (exprs.kt) at exprs.kt:1:1:359:0\n |
7+
| exprs.kt:66:15:66:23 | Dispatch receiver not found | 2022-11-03 15:47:53 Dispatch receiver not found ...while extracting a call (<no name>) at exprs.kt:66:15:66:23\n ...while extracting a expression (<no name>) at exprs.kt:66:15:66:23\n ...while extracting a variable expr (s16) at exprs.kt:66:5:66:23\n ...while extracting a variable (s16) at exprs.kt:66:5:66:23\n ...while extracting a statement (s16) at exprs.kt:66:5:66:23\n ...while extracting a block body (<no name>) at exprs.kt:10:27:142:1\n ...while extracting a body (<no name>) at exprs.kt:10:27:142:1\n ...while extracting a function (topLevelMethod) at exprs.kt:4:1:142:1\n ...while extracting a declaration (topLevelMethod) at exprs.kt:4:1:142:1\n ...while extracting a file (exprs.kt) at exprs.kt:1:1:359:0\n |

0 commit comments

Comments
 (0)