File tree Expand file tree Collapse file tree 13 files changed +29
-3
lines changed
integration-tests/all-platforms/kotlin
unknown-method-reference-lhs Expand file tree Collapse file tree 13 files changed +29
-3
lines changed Original file line number Diff line number Diff line change
1
+ | Number of calls with call target | 1 |
2
+ | Number of calls with missing call target | 0 |
3
+ | Number of expressions with known type | 0 |
4
+ | Number of expressions with unknown type | 0 |
1
5
| Number of files with extension jar | 1 |
2
6
| Number of files with extension kt | 1 |
3
7
| Number of lines of code | 2 |
4
8
| Number of lines of code with extension kt | 2 |
9
+ | Percentage of calls with call target | 100 |
5
10
| Total number of lines | 3 |
6
11
| Total number of lines with extension kt | 3 |
7
12
| Uses Kotlin 2: false | 1 |
Original file line number Diff line number Diff line change
1
+ | Number of calls with call target | 1 |
2
+ | Number of calls with missing call target | 0 |
3
+ | Number of expressions with known type | 0 |
4
+ | Number of expressions with unknown type | 0 |
1
5
| Number of files with extension jar | 1 |
2
6
| Number of files with extension kt | 1 |
3
7
| Number of lines of code | 2 |
4
8
| Number of lines of code with extension kt | 2 |
9
+ | Percentage of calls with call target | 100 |
5
10
| Total number of lines | 3 |
6
11
| Total number of lines with extension kt | 3 |
7
12
| Uses Kotlin 2: true | 1 |
Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ public int yieldWrapper(int x) {
15
15
// Diagnostic Matches: Erroneous node in tree: (ERROR)
16
16
// Diagnostic Matches: In file Test.java:8:15 no end location for JCMethodInvocation : yield(x)
17
17
// Diagnostic Matches: 1 errors during annotation processing
18
+ // Diagnostic Matches: Unknown or erroneous type for expression of kind ErrorExpr
Original file line number Diff line number Diff line change
1
+ | Test.java:1:30:1:48 | Unknown or erroneous type for expression of kind TypeAccess |
1
2
| file://:0:0:0:0 | 1 errors during annotation processing |
Original file line number Diff line number Diff line change
1
+ | Test.java:1:30:1:48 | <TypeAccess of ErrorType> |
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ Test.java:
2
2
# 0| [CompilationUnit] Test
3
3
# 1| 1: [Class] Test
4
4
#-----| -1: (Base Types)
5
- # 1| 0: [TypeAccess] <any >
5
+ # 1| 0: [TypeAccess] <TypeAccess of ErrorType >
6
6
# 1| 0: [TypeAccess] String
Original file line number Diff line number Diff line change 1
1
public class Test implements Unavailable <String > { }
2
2
3
3
// Diagnostic Matches: 1 errors during annotation processing
4
+ // Diagnostic Matches: Unknown or erroneous type for expression of kind TypeAccess
Original file line number Diff line number Diff line change 1
1
| Test.java:0:0:0:0 | 2 javac errors |
2
+ | Test.java:6:5:6:15 | Unknown or erroneous type for expression of kind TypeAccess |
2
3
| Test.java:6:23:6:39 | Unexpected symbol for constructor: new NoSuchClass() |
4
+ | Test.java:6:23:6:39 | Unknown or erroneous type for expression of kind ClassInstanceCreation |
5
+ | Test.java:6:27:6:37 | Unknown or erroneous type for expression of kind TypeAccess |
3
6
| file://:0:0:0:0 | 2 errors during annotation processing |
Original file line number Diff line number Diff line change
1
+ | Test.java:6:5:6:15 | <TypeAccess of ErrorType> |
2
+ | Test.java:6:23:6:39 | <ClassInstanceExpr that calls a missing constructor> |
3
+ | Test.java:6:27:6:37 | <TypeAccess of ErrorType> |
1
4
| Test.java:7:12:7:14 | nsc |
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ Test.java:
7
7
# 5| 3: [TypeAccess] NoSuchClass
8
8
# 5| 5: [BlockStmt] { ... }
9
9
# 6| 0: [LocalVariableDeclStmt] var ...;
10
- # 6| 0: [TypeAccess] NoSuchClass
10
+ # 6| 0: [TypeAccess] <TypeAccess of ErrorType>
11
11
# 6| 1: [LocalVariableDeclExpr] nsc
12
12
# 6| 0: [ClassInstanceExpr] <ClassInstanceExpr that calls a missing constructor>
13
- # 6| -3: [TypeAccess] NoSuchClass
13
+ # 6| -3: [TypeAccess] <TypeAccess of ErrorType>
14
14
# 7| 1: [ReturnStmt] return ...
15
15
# 7| 0: [VarAccess] nsc
You can’t perform that action at this time.
0 commit comments