Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1719b92

Browse files
committed
Kotlin: Accept test changes
1 parent b57d7f5 commit 1719b92

4 files changed

Lines changed: 54 additions & 53 deletions

File tree

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
cloneMethods
2-
| file://:0:0:0:0 | clone | clone() | file://:0:0:0:0 | Integer[] | file://:0:0:0:0 | Integer[] | file://:0:0:0:0 | Kotlin nullable Array<Integer> |
3-
| file://:0:0:0:0 | clone | clone() | file://:0:0:0:0 | Integer[][] | file://:0:0:0:0 | Integer[][] | file://:0:0:0:0 | Kotlin nullable Array<Integer[]> |
4-
| file://:0:0:0:0 | clone | clone() | file://:0:0:0:0 | int[] | file://:0:0:0:0 | int[] | file://:0:0:0:0 | Kotlin nullable IntArray |
5-
| file://:0:0:0:0 | clone | clone() | file://:0:0:0:0 | int[][] | file://:0:0:0:0 | int[][] | file://:0:0:0:0 | Kotlin nullable Array<int[]> |
2+
| file://:0:0:0:0 | clone | clone() | file://:0:0:0:0 | Integer[] | file://:0:0:0:0 | Integer[] | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass |
3+
| file://:0:0:0:0 | clone | clone() | file://:0:0:0:0 | Integer[][] | file://:0:0:0:0 | Integer[][] | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass |
4+
| file://:0:0:0:0 | clone | clone() | file://:0:0:0:0 | int[] | file://:0:0:0:0 | int[] | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass |
5+
| file://:0:0:0:0 | clone | clone() | file://:0:0:0:0 | int[][] | file://:0:0:0:0 | int[][] | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass |
66
sourceSignatures
77
| arrayCreations.kt:3:1:29:1 | <obinit> | <obinit>() |
88
| arrayCreations.kt:3:1:29:1 | TestArrayCreation | TestArrayCreation() |
@@ -17,9 +17,9 @@ sourceSignatures
1717
| primitiveArrays.kt:3:1:7:1 | toString | toString() |
1818
| primitiveArrays.kt:5:3:5:123 | test | test(java.lang.Integer[],java.lang.Integer[],int[],java.lang.Integer[][],java.lang.Integer[][],int[][]) |
1919
#select
20-
| primitiveArrays.kt:5:12:5:24 | a | file://:0:0:0:0 | Integer[] | Integer | Integer | file://:0:0:0:0 | Kotlin not-null Array<Integer> |
21-
| primitiveArrays.kt:5:27:5:40 | b | file://:0:0:0:0 | Integer[] | Integer | Integer | file://:0:0:0:0 | Kotlin not-null Array<Integer> |
22-
| primitiveArrays.kt:5:43:5:53 | c | file://:0:0:0:0 | int[] | int | int | file://:0:0:0:0 | Kotlin not-null IntArray |
23-
| primitiveArrays.kt:5:56:5:76 | d | file://:0:0:0:0 | Integer[][] | Integer[] | Integer | file://:0:0:0:0 | Kotlin not-null Array<Integer[]> |
24-
| primitiveArrays.kt:5:79:5:98 | e | file://:0:0:0:0 | Integer[][] | Integer[] | Integer | file://:0:0:0:0 | Kotlin not-null Array<Integer[]> |
25-
| primitiveArrays.kt:5:101:5:118 | f | file://:0:0:0:0 | int[][] | int[] | int | file://:0:0:0:0 | Kotlin not-null Array<int[]> |
20+
| primitiveArrays.kt:5:12:5:24 | a | file://:0:0:0:0 | Integer[] | Integer | Integer | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass |
21+
| primitiveArrays.kt:5:27:5:40 | b | file://:0:0:0:0 | Integer[] | Integer | Integer | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass |
22+
| primitiveArrays.kt:5:43:5:53 | c | file://:0:0:0:0 | int[] | int | int | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass |
23+
| primitiveArrays.kt:5:56:5:76 | d | file://:0:0:0:0 | Integer[][] | Integer[] | Integer | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass |
24+
| primitiveArrays.kt:5:79:5:98 | e | file://:0:0:0:0 | Integer[][] | Integer[] | Integer | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass |
25+
| primitiveArrays.kt:5:101:5:118 | f | file://:0:0:0:0 | int[][] | int[] | int | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass |
Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
1-
| test.kt:14:3:14:29 | p1 | test.kt:3:1:3:34 | SimpleInvariant<String> | file://:0:0:0:0 | Kotlin not-null SimpleInvariant<String> | Object |
2-
| test.kt:15:3:15:33 | p2 | test.kt:3:1:3:34 | SimpleInvariant<? extends String> | file://:0:0:0:0 | Kotlin not-null SimpleInvariant<? extends String> | Object |
3-
| test.kt:16:3:16:32 | p3 | test.kt:3:1:3:34 | SimpleInvariant<? super String> | file://:0:0:0:0 | Kotlin not-null SimpleInvariant<? super String> | Object |
4-
| test.kt:17:3:17:24 | p4 | test.kt:3:1:3:34 | SimpleInvariant<?> | file://:0:0:0:0 | Kotlin not-null SimpleInvariant<?> | Object |
5-
| test.kt:18:3:18:29 | p5 | test.kt:5:1:5:75 | NestedInvariant<String> | file://:0:0:0:0 | Kotlin not-null NestedInvariant<String> | Object |
6-
| test.kt:18:3:18:29 | p5 | test.kt:5:1:5:75 | NestedInvariant<String> | file://:0:0:0:0 | Kotlin not-null NestedInvariant<String> | SimpleInvariant<SimpleInvariant<String>> |
7-
| test.kt:19:3:19:33 | p6 | test.kt:5:1:5:75 | NestedInvariant<? extends String> | file://:0:0:0:0 | Kotlin not-null NestedInvariant<? extends String> | Object |
8-
| test.kt:19:3:19:33 | p6 | test.kt:5:1:5:75 | NestedInvariant<? extends String> | file://:0:0:0:0 | Kotlin not-null NestedInvariant<? extends String> | SimpleInvariant<SimpleInvariant<? extends String>> |
9-
| test.kt:20:3:20:32 | p7 | test.kt:5:1:5:75 | NestedInvariant<? super String> | file://:0:0:0:0 | Kotlin not-null NestedInvariant<? super String> | Object |
10-
| test.kt:20:3:20:32 | p7 | test.kt:5:1:5:75 | NestedInvariant<? super String> | file://:0:0:0:0 | Kotlin not-null NestedInvariant<? super String> | SimpleInvariant<SimpleInvariant<? super String>> |
11-
| test.kt:21:3:21:24 | p8 | test.kt:5:1:5:75 | NestedInvariant<?> | file://:0:0:0:0 | Kotlin not-null NestedInvariant<?> | Object |
12-
| test.kt:21:3:21:24 | p8 | test.kt:5:1:5:75 | NestedInvariant<?> | file://:0:0:0:0 | Kotlin not-null NestedInvariant<?> | SimpleInvariant<SimpleInvariant<?>> |
13-
| test.kt:22:3:22:29 | p9 | test.kt:7:1:7:74 | NestedCovariant<String> | file://:0:0:0:0 | Kotlin not-null NestedCovariant<String> | Object |
14-
| test.kt:22:3:22:29 | p9 | test.kt:7:1:7:74 | NestedCovariant<String> | file://:0:0:0:0 | Kotlin not-null NestedCovariant<String> | SimpleInvariant<SimpleInvariant<? extends String>> |
15-
| test.kt:23:3:23:34 | p10 | test.kt:7:1:7:74 | NestedCovariant<? extends String> | file://:0:0:0:0 | Kotlin not-null NestedCovariant<? extends String> | Object |
16-
| test.kt:23:3:23:34 | p10 | test.kt:7:1:7:74 | NestedCovariant<? extends String> | file://:0:0:0:0 | Kotlin not-null NestedCovariant<? extends String> | SimpleInvariant<SimpleInvariant<? extends String>> |
17-
| test.kt:24:3:24:33 | p11 | test.kt:7:1:7:74 | NestedCovariant<? super String> | file://:0:0:0:0 | Kotlin not-null NestedCovariant<? super String> | Object |
18-
| test.kt:24:3:24:33 | p11 | test.kt:7:1:7:74 | NestedCovariant<? super String> | file://:0:0:0:0 | Kotlin not-null NestedCovariant<? super String> | SimpleInvariant<SimpleInvariant<?>> |
19-
| test.kt:25:3:25:25 | p12 | test.kt:7:1:7:74 | NestedCovariant<?> | file://:0:0:0:0 | Kotlin not-null NestedCovariant<?> | Object |
20-
| test.kt:25:3:25:25 | p12 | test.kt:7:1:7:74 | NestedCovariant<?> | file://:0:0:0:0 | Kotlin not-null NestedCovariant<?> | SimpleInvariant<SimpleInvariant<?>> |
21-
| test.kt:26:3:26:34 | p13 | test.kt:9:1:9:77 | NestedContravariant<String> | file://:0:0:0:0 | Kotlin not-null NestedContravariant<String> | Object |
22-
| test.kt:26:3:26:34 | p13 | test.kt:9:1:9:77 | NestedContravariant<String> | file://:0:0:0:0 | Kotlin not-null NestedContravariant<String> | SimpleInvariant<SimpleInvariant<? super String>> |
23-
| test.kt:27:3:27:38 | p14 | test.kt:9:1:9:77 | NestedContravariant<? extends String> | file://:0:0:0:0 | Kotlin not-null NestedContravariant<? extends String> | Object |
24-
| test.kt:27:3:27:38 | p14 | test.kt:9:1:9:77 | NestedContravariant<? extends String> | file://:0:0:0:0 | Kotlin not-null NestedContravariant<? extends String> | SimpleInvariant<SimpleInvariant<?>> |
25-
| test.kt:28:3:28:37 | p15 | test.kt:9:1:9:77 | NestedContravariant<? super String> | file://:0:0:0:0 | Kotlin not-null NestedContravariant<? super String> | Object |
26-
| test.kt:28:3:28:37 | p15 | test.kt:9:1:9:77 | NestedContravariant<? super String> | file://:0:0:0:0 | Kotlin not-null NestedContravariant<? super String> | SimpleInvariant<SimpleInvariant<? super String>> |
27-
| test.kt:29:3:29:29 | p16 | test.kt:9:1:9:77 | NestedContravariant<?> | file://:0:0:0:0 | Kotlin not-null NestedContravariant<?> | Object |
28-
| test.kt:29:3:29:29 | p16 | test.kt:9:1:9:77 | NestedContravariant<?> | file://:0:0:0:0 | Kotlin not-null NestedContravariant<?> | SimpleInvariant<SimpleInvariant<?>> |
29-
| test.kt:30:3:30:28 | p17 | test.kt:11:1:11:51 | DoubleInherit<String> | file://:0:0:0:0 | Kotlin not-null DoubleInherit<String> | NestedInvariant<String> |
30-
| test.kt:30:3:30:28 | p17 | test.kt:11:1:11:51 | DoubleInherit<String> | file://:0:0:0:0 | Kotlin not-null DoubleInherit<String> | Object |
31-
| test.kt:30:3:30:28 | p17 | test.kt:11:1:11:51 | DoubleInherit<String> | file://:0:0:0:0 | Kotlin not-null DoubleInherit<String> | SimpleInvariant<SimpleInvariant<String>> |
32-
| test.kt:31:3:31:31 | p18 | test.kt:11:1:11:51 | DoubleInherit<? super String> | file://:0:0:0:0 | Kotlin not-null DoubleInherit<? super String> | NestedInvariant<? super String> |
33-
| test.kt:31:3:31:31 | p18 | test.kt:11:1:11:51 | DoubleInherit<? super String> | file://:0:0:0:0 | Kotlin not-null DoubleInherit<? super String> | Object |
34-
| test.kt:31:3:31:31 | p18 | test.kt:11:1:11:51 | DoubleInherit<? super String> | file://:0:0:0:0 | Kotlin not-null DoubleInherit<? super String> | SimpleInvariant<SimpleInvariant<? super String>> |
35-
| test.kt:32:3:32:32 | p19 | test.kt:11:1:11:51 | DoubleInherit<? extends String> | file://:0:0:0:0 | Kotlin not-null DoubleInherit<? extends String> | NestedInvariant<? extends String> |
36-
| test.kt:32:3:32:32 | p19 | test.kt:11:1:11:51 | DoubleInherit<? extends String> | file://:0:0:0:0 | Kotlin not-null DoubleInherit<? extends String> | Object |
37-
| test.kt:32:3:32:32 | p19 | test.kt:11:1:11:51 | DoubleInherit<? extends String> | file://:0:0:0:0 | Kotlin not-null DoubleInherit<? extends String> | SimpleInvariant<SimpleInvariant<? extends String>> |
38-
| test.kt:33:3:33:23 | p20 | test.kt:11:1:11:51 | DoubleInherit<?> | file://:0:0:0:0 | Kotlin not-null DoubleInherit<?> | NestedInvariant<?> |
39-
| test.kt:33:3:33:23 | p20 | test.kt:11:1:11:51 | DoubleInherit<?> | file://:0:0:0:0 | Kotlin not-null DoubleInherit<?> | Object |
40-
| test.kt:33:3:33:23 | p20 | test.kt:11:1:11:51 | DoubleInherit<?> | file://:0:0:0:0 | Kotlin not-null DoubleInherit<?> | SimpleInvariant<SimpleInvariant<?>> |
1+
| test.kt:14:3:14:29 | p1 | test.kt:3:1:3:34 | SimpleInvariant<String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
2+
| test.kt:15:3:15:33 | p2 | test.kt:3:1:3:34 | SimpleInvariant<? extends String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
3+
| test.kt:16:3:16:32 | p3 | test.kt:3:1:3:34 | SimpleInvariant<? super String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
4+
| test.kt:17:3:17:24 | p4 | test.kt:3:1:3:34 | SimpleInvariant<?> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
5+
| test.kt:18:3:18:29 | p5 | test.kt:5:1:5:75 | NestedInvariant<String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
6+
| test.kt:18:3:18:29 | p5 | test.kt:5:1:5:75 | NestedInvariant<String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<String>> |
7+
| test.kt:19:3:19:33 | p6 | test.kt:5:1:5:75 | NestedInvariant<? extends String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
8+
| test.kt:19:3:19:33 | p6 | test.kt:5:1:5:75 | NestedInvariant<? extends String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<? extends String>> |
9+
| test.kt:20:3:20:32 | p7 | test.kt:5:1:5:75 | NestedInvariant<? super String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
10+
| test.kt:20:3:20:32 | p7 | test.kt:5:1:5:75 | NestedInvariant<? super String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<? super String>> |
11+
| test.kt:21:3:21:24 | p8 | test.kt:5:1:5:75 | NestedInvariant<?> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
12+
| test.kt:21:3:21:24 | p8 | test.kt:5:1:5:75 | NestedInvariant<?> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<?>> |
13+
| test.kt:22:3:22:29 | p9 | test.kt:7:1:7:74 | NestedCovariant<String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
14+
| test.kt:22:3:22:29 | p9 | test.kt:7:1:7:74 | NestedCovariant<String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<? extends String>> |
15+
| test.kt:23:3:23:34 | p10 | test.kt:7:1:7:74 | NestedCovariant<? extends String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
16+
| test.kt:23:3:23:34 | p10 | test.kt:7:1:7:74 | NestedCovariant<? extends String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<? extends String>> |
17+
| test.kt:24:3:24:33 | p11 | test.kt:7:1:7:74 | NestedCovariant<? super String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
18+
| test.kt:24:3:24:33 | p11 | test.kt:7:1:7:74 | NestedCovariant<? super String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<?>> |
19+
| test.kt:25:3:25:25 | p12 | test.kt:7:1:7:74 | NestedCovariant<?> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
20+
| test.kt:25:3:25:25 | p12 | test.kt:7:1:7:74 | NestedCovariant<?> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<?>> |
21+
| test.kt:26:3:26:34 | p13 | test.kt:9:1:9:77 | NestedContravariant<String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
22+
| test.kt:26:3:26:34 | p13 | test.kt:9:1:9:77 | NestedContravariant<String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<? super String>> |
23+
| test.kt:27:3:27:38 | p14 | test.kt:9:1:9:77 | NestedContravariant<? extends String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
24+
| test.kt:27:3:27:38 | p14 | test.kt:9:1:9:77 | NestedContravariant<? extends String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<?>> |
25+
| test.kt:28:3:28:37 | p15 | test.kt:9:1:9:77 | NestedContravariant<? super String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
26+
| test.kt:28:3:28:37 | p15 | test.kt:9:1:9:77 | NestedContravariant<? super String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<? super String>> |
27+
| test.kt:29:3:29:29 | p16 | test.kt:9:1:9:77 | NestedContravariant<?> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
28+
| test.kt:29:3:29:29 | p16 | test.kt:9:1:9:77 | NestedContravariant<?> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<?>> |
29+
| test.kt:30:3:30:28 | p17 | test.kt:11:1:11:51 | DoubleInherit<String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | NestedInvariant<String> |
30+
| test.kt:30:3:30:28 | p17 | test.kt:11:1:11:51 | DoubleInherit<String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
31+
| test.kt:30:3:30:28 | p17 | test.kt:11:1:11:51 | DoubleInherit<String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<String>> |
32+
| test.kt:31:3:31:31 | p18 | test.kt:11:1:11:51 | DoubleInherit<? super String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | NestedInvariant<? super String> |
33+
| test.kt:31:3:31:31 | p18 | test.kt:11:1:11:51 | DoubleInherit<? super String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
34+
| test.kt:31:3:31:31 | p18 | test.kt:11:1:11:51 | DoubleInherit<? super String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<? super String>> |
35+
| test.kt:32:3:32:32 | p19 | test.kt:11:1:11:51 | DoubleInherit<? extends String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | NestedInvariant<? extends String> |
36+
| test.kt:32:3:32:32 | p19 | test.kt:11:1:11:51 | DoubleInherit<? extends String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
37+
| test.kt:32:3:32:32 | p19 | test.kt:11:1:11:51 | DoubleInherit<? extends String> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<? extends String>> |
38+
| test.kt:33:3:33:23 | p20 | test.kt:11:1:11:51 | DoubleInherit<?> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | NestedInvariant<?> |
39+
| test.kt:33:3:33:23 | p20 | test.kt:11:1:11:51 | DoubleInherit<?> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | Object |
40+
| test.kt:33:3:33:23 | p20 | test.kt:11:1:11:51 | DoubleInherit<?> | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass | SimpleInvariant<SimpleInvariant<?>> |
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
| test.kt:4:1:4:24 | AliasInt | file://:0:0:0:0 | Kotlin not-null Integer |
2-
| test.kt:5:1:5:31 | AliasX | file://:0:0:0:0 | Kotlin not-null MyClass<Integer> |
3-
| test.kt:6:1:6:36 | AliasY | file://:0:0:0:0 | Kotlin not-null MyClass<Integer> |
1+
| test.kt:4:1:4:24 | AliasInt | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass |
2+
| test.kt:5:1:5:31 | AliasX | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass |
3+
| test.kt:6:1:6:36 | AliasY | file://:0:0:0:0 | Kotlin nullable FakeKotlinClass |

java/ql/test/kotlin/library-tests/types/types.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,7 @@
10411041
| Factory<BoundMethodHandle,String,SpeciesData> | Class, ParameterizedType |
10421042
| Factory<T,K,S> | Class, ParameterizedType |
10431043
| FairSync | Class |
1044+
| FakeKotlinClass | Class |
10441045
| Field | Class |
10451046
| FieldAccessor | Interface |
10461047
| FieldDelegate | Interface |

0 commit comments

Comments
 (0)