@@ -5,17 +5,17 @@ typealias SomeUnusedAlias<T> = Some
5
5
6
6
fun test_1 () {
7
7
Some ::foo
8
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > Some <Int >< ! > ::foo
8
+ Some < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <Int><!>::foo
9
9
10
10
SomeAlias ::foo
11
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > SomeAlias <Int >< ! > ::foo
11
+ SomeAlias < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <Int><!>::foo
12
12
13
13
< ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > SomeUnusedAlias < ! > ::foo
14
14
SomeUnusedAlias <Int >::foo
15
15
SomeUnusedAlias <out Int >::foo
16
16
SomeUnusedAlias <in Int >::foo
17
17
SomeUnusedAlias <* >::foo
18
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > SomeUnusedAlias <Int , Int >< ! > ::foo
18
+ SomeUnusedAlias < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <Int, Int><!>::foo
19
19
}
20
20
21
21
// ----------------------------------------------------------------
@@ -34,34 +34,34 @@ fun test_2() {
34
34
Inv << ! UPPER_BOUND_VIOLATED ! > out Int < ! >> ::foo
35
35
Inv <out String >::foo
36
36
< ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > Inv < ! > ::foo
37
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > Inv <String , String >< ! > ::foo
37
+ Inv < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <String, String><!>::foo
38
38
39
39
InvAlias <String >::foo
40
40
InvAlias << ! UPPER_BOUND_VIOLATED ! > Int < ! >> ::foo
41
41
InvAlias <* >::foo
42
42
InvAlias << ! UPPER_BOUND_VIOLATED ! > out Int < ! >> ::foo
43
43
InvAlias <out String >::foo
44
44
< ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > InvAlias < ! > ::foo
45
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > InvAlias <String , String >< ! > ::foo
45
+ InvAlias < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <String, String><!>::foo
46
46
47
47
InvUnusedCorrectAlias <String >::foo
48
48
InvUnusedCorrectAlias <Int >::foo
49
49
InvUnusedCorrectAlias <* >::foo
50
50
InvUnusedCorrectAlias <out Int >::foo
51
51
InvUnusedCorrectAlias <out String >::foo
52
52
< ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > InvUnusedCorrectAlias < ! > ::foo
53
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > InvUnusedCorrectAlias <String , String >< ! > ::foo
53
+ InvUnusedCorrectAlias < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <String, String><!>::foo
54
54
55
55
InvUnusedIncorrectAlias <String >::foo
56
56
InvUnusedIncorrectAlias <Int >::foo
57
57
InvUnusedIncorrectAlias <* >::foo
58
58
InvUnusedIncorrectAlias <out Int >::foo
59
59
InvUnusedIncorrectAlias <out String >::foo
60
60
< ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > InvUnusedIncorrectAlias < ! > ::foo
61
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > InvUnusedIncorrectAlias <String , String >< ! > ::foo
61
+ InvUnusedIncorrectAlias < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <String, String><!>::foo
62
62
63
63
InvSpecificAlias ::foo
64
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > InvSpecificAlias <String , String >< ! > ::foo
64
+ InvSpecificAlias < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <String, String><!>::foo
65
65
}
66
66
67
67
// ----------------------------------------------------------------
@@ -86,7 +86,7 @@ fun test_3() {
86
86
BoundedPair <in String , in Int >::foo
87
87
BoundedPair << ! UPPER_BOUND_VIOLATED ! > in Int < ! > , in Int > ::foo
88
88
< ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPair < ! > ::foo
89
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPair <Int , Int , Int >< ! > ::foo
89
+ BoundedPair < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <Int, Int, Int><!>::foo
90
90
91
91
BoundedPairAlias <String , Int >::foo
92
92
BoundedPairAlias << ! UPPER_BOUND_VIOLATED ! > Int < ! > , Int > ::foo
@@ -96,7 +96,7 @@ fun test_3() {
96
96
BoundedPairAlias <in String , in Int >::foo
97
97
BoundedPairAlias << ! UPPER_BOUND_VIOLATED ! > in Int < ! > , in Int > ::foo
98
98
< ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairAlias < ! > ::foo
99
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairAlias <Int , Int , Int >< ! > ::foo
99
+ BoundedPairAlias < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <Int, Int, Int><!>::foo
100
100
101
101
BoundedPairInverted <String , <! UPPER_BOUND_VIOLATED ! >Int < ! >> ::foo
102
102
BoundedPairInverted <Int , <! UPPER_BOUND_VIOLATED ! >Int < ! >> ::foo
@@ -106,7 +106,7 @@ fun test_3() {
106
106
BoundedPairInverted <in String , <! UPPER_BOUND_VIOLATED ! >in Int < ! >> ::foo
107
107
BoundedPairInverted <in Int , <! UPPER_BOUND_VIOLATED ! >in Int < ! >> ::foo
108
108
< ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairInverted < ! > ::foo
109
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairInverted <Int , Int , Int >< ! > ::foo
109
+ BoundedPairInverted < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <Int, Int, Int><!>::foo
110
110
111
111
BoundedPairFirstFixedAlias <Int >::foo
112
112
BoundedPairFirstFixedAlias <Int >::foo
@@ -116,7 +116,7 @@ fun test_3() {
116
116
BoundedPairFirstFixedAlias <in String >::foo
117
117
BoundedPairFirstFixedAlias <in Int >::foo
118
118
< ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairFirstFixedAlias < ! > ::foo
119
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairFirstFixedAlias <Int , Int >< ! > ::foo
119
+ BoundedPairFirstFixedAlias < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <Int, Int><!>::foo
120
120
121
121
BoundedPairSecondFixedAlias << ! UPPER_BOUND_VIOLATED ! > Int < ! >> ::foo
122
122
BoundedPairSecondFixedAlias << ! UPPER_BOUND_VIOLATED ! > Int < ! >> ::foo
@@ -126,7 +126,7 @@ fun test_3() {
126
126
BoundedPairSecondFixedAlias <in String >::foo
127
127
BoundedPairSecondFixedAlias << ! UPPER_BOUND_VIOLATED ! > in Int < ! >> ::foo
128
128
< ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairSecondFixedAlias < ! > ::foo
129
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairSecondFixedAlias <Int , Int >< ! > ::foo
129
+ BoundedPairSecondFixedAlias < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <Int, Int><!>::foo
130
130
131
131
BoundedPairFirstUnusedAlias <String , Int >::foo
132
132
BoundedPairFirstUnusedAlias <Int , Int >::foo
@@ -136,7 +136,7 @@ fun test_3() {
136
136
BoundedPairFirstUnusedAlias <in String , in Int >::foo
137
137
BoundedPairFirstUnusedAlias <in Int , in Int >::foo
138
138
< ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairFirstUnusedAlias < ! > ::foo
139
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairFirstUnusedAlias <Int , Int , Int >< ! > ::foo
139
+ BoundedPairFirstUnusedAlias < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <Int, Int, Int><!>::foo
140
140
141
141
BoundedPairSecondUnusedAlias <String , Int >::foo
142
142
BoundedPairSecondUnusedAlias << ! UPPER_BOUND_VIOLATED ! > Int < ! > , Int > ::foo
@@ -146,7 +146,7 @@ fun test_3() {
146
146
BoundedPairSecondUnusedAlias <in String , in Int >::foo
147
147
BoundedPairSecondUnusedAlias << ! UPPER_BOUND_VIOLATED ! > in Int < ! > , in Int > ::foo
148
148
< ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairSecondUnusedAlias < ! > ::foo
149
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairSecondUnusedAlias <Int , Int , Int >< ! > ::foo
149
+ BoundedPairSecondUnusedAlias < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <Int, Int, Int><!>::foo
150
150
151
151
BoundedPairBothAlias <String , Int >::foo
152
152
BoundedPairBothAlias <Int , Int >::foo
@@ -156,7 +156,7 @@ fun test_3() {
156
156
BoundedPairBothAlias <in String , in Int >::foo
157
157
BoundedPairBothAlias <in Int , in Int >::foo
158
158
< ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairBothAlias < ! > ::foo
159
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairBothAlias <Int , Int , Int >< ! > ::foo
159
+ BoundedPairBothAlias < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <Int, Int, Int><!>::foo
160
160
161
161
BoundedPairSpecificAlias <String , Int >::foo
162
162
BoundedPairSpecificAlias <Int , Int >::foo
@@ -166,5 +166,5 @@ fun test_3() {
166
166
BoundedPairSpecificAlias <in String , in Int >::foo
167
167
BoundedPairSpecificAlias <in Int , in Int >::foo
168
168
< ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairSpecificAlias < ! > ::foo
169
- < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > BoundedPairSpecificAlias <Int , Int , Int >< ! > ::foo
169
+ BoundedPairSpecificAlias < ! WRONG_NUMBER_OF_TYPE_ARGUMENTS ! > <Int, Int, Int><!>::foo
170
170
}
0 commit comments