@@ -56,7 +56,7 @@ class TastyHeaderUnpicklerTest {
56
56
val file = TastyVersion (28 , 4 , 1 )
57
57
val read = TastyVersion (28 , 4 , 0 )
58
58
expectUnpickleError(runTest(file, read, " Scala 3.4.0-RC1-bin-SNAPSHOT" )) {
59
- """ TASTy file produced by Scala 3.4.0-RC1-bin-SNAPSHOT has a backward incompatible TASTy version 28.4-experimental-1 ,
59
+ """ Backward incompatible TASTy file has version 28.4-experimental-1, produced by Scala 3.4.0-RC1-bin-SNAPSHOT,
60
60
| expected stable TASTy from 28.0 to 28.4.
61
61
| The source of this file should be recompiled by a Scala 3.4.0 compiler or newer.
62
62
| Usually this means that the library dependency containing this file should be updated.
@@ -70,7 +70,7 @@ class TastyHeaderUnpicklerTest {
70
70
val file = TastyVersion (28 , 3 , 1 )
71
71
val read = TastyVersion (28 , 4 , 0 )
72
72
expectUnpickleError(runTest(file, read, " Scala 3.2.1-RC1-bin-SNAPSHOT" )) {
73
- """ TASTy file produced by Scala 3.2.1-RC1-bin-SNAPSHOT has a backward incompatible TASTy version 28.3-experimental-1 ,
73
+ """ Backward incompatible TASTy file has version 28.3-experimental-1, produced by Scala 3.2.1-RC1-bin-SNAPSHOT,
74
74
| expected stable TASTy from 28.0 to 28.4.
75
75
| The source of this file should be recompiled by a Scala 3.3.0 compiler or newer.
76
76
| Usually this means that the library dependency containing this file should be updated.
@@ -84,7 +84,7 @@ class TastyHeaderUnpicklerTest {
84
84
val file = TastyVersion (27 , 3 , 0 )
85
85
val read = TastyVersion (28 , 3 , 0 )
86
86
expectUnpickleError(runTest(file, read, " Scala 3.0.0-M1" )) {
87
- """ TASTy file has a backward incompatible TASTy version 27.3,
87
+ """ Backward incompatible TASTy file has version 27.3,
88
88
| expected stable TASTy from 28.0 to 28.3.
89
89
| The source of this file should be recompiled by a Scala 3.0.0 compiler or newer.
90
90
| Usually this means that the library dependency containing this file should be updated.
@@ -99,7 +99,7 @@ class TastyHeaderUnpicklerTest {
99
99
val file = TastyVersion (27 , 3 , 0 )
100
100
val read = TastyVersion (28 , 3 , 0 )
101
101
expectUnpickleError(runTest(file, read, " Scala 3.0.0-M1" , generic = true )) {
102
- """ TASTy file has a backward incompatible TASTy version 27.3,
102
+ """ Backward incompatible TASTy file has version 27.3,
103
103
| expected stable TASTy from 28.0 to 28.3.
104
104
| The source of this file should be recompiled by a later version.
105
105
| Usually this means that the classpath entry of this file should be updated.
@@ -113,7 +113,7 @@ class TastyHeaderUnpicklerTest {
113
113
val file = TastyVersion (28 , 4 , 1 )
114
114
val read = TastyVersion (28 , 4 , 2 )
115
115
expectUnpickleError(runTest(file, read, " Scala 3.3.3-RC1-NIGHTLY" )) {
116
- """ TASTy file produced by Scala 3.3.3-RC1-NIGHTLY has a backward incompatible TASTy version 28.4-experimental-1 ,
116
+ """ Backward incompatible TASTy file has version 28.4-experimental-1, produced by Scala 3.3.3-RC1-NIGHTLY,
117
117
| expected stable TASTy from 28.0 to 28.3, or exactly 28.4-experimental-2.
118
118
| The source of this file should be recompiled by the same nightly or snapshot Scala 3.3 compiler.
119
119
| Usually this means that the library dependency containing this file should be updated.
@@ -128,7 +128,7 @@ class TastyHeaderUnpicklerTest {
128
128
val file = TastyVersion (28 , 4 , 1 )
129
129
val read = TastyVersion (28 , 4 , 2 )
130
130
expectUnpickleError(runTest(file, read, " Scala 3.3.3-RC1-NIGHTLY" , generic = true )) {
131
- """ TASTy file produced by Scala 3.3.3-RC1-NIGHTLY has a backward incompatible TASTy version 28.4-experimental-1 ,
131
+ """ Backward incompatible TASTy file has version 28.4-experimental-1, produced by Scala 3.3.3-RC1-NIGHTLY,
132
132
| expected stable TASTy from 28.0 to 28.3, or exactly 28.4-experimental-2.
133
133
| The source of this file should be recompiled by a later version.
134
134
| Usually this means that the classpath entry of this file should be updated.
@@ -142,7 +142,7 @@ class TastyHeaderUnpicklerTest {
142
142
val file = TastyVersion (28 , 3 , 0 )
143
143
val read = TastyVersion (28 , 2 , 0 )
144
144
expectUnpickleError(runTest(file, read, " Scala 3.3.1" )) {
145
- """ TASTy file produced by Scala 3.3.1 has a forward incompatible TASTy version 28.3 ,
145
+ """ Forward incompatible TASTy file has version 28.3, produced by Scala 3.3.1,
146
146
| expected stable TASTy from 28.0 to 28.2.
147
147
| To read this TASTy file, use a Scala 3.3.0 compiler or newer.
148
148
| Please refer to the documentation for information on TASTy versioning:
@@ -156,7 +156,7 @@ class TastyHeaderUnpicklerTest {
156
156
val file = TastyVersion (28 , 3 , 0 )
157
157
val read = TastyVersion (28 , 2 , 0 )
158
158
expectUnpickleError(runTest(file, read, " Scala 3.3.1" , generic = true )) {
159
- """ TASTy file produced by Scala 3.3.1 has a forward incompatible TASTy version 28.3 ,
159
+ """ Forward incompatible TASTy file has version 28.3, produced by Scala 3.3.1,
160
160
| expected stable TASTy from 28.0 to 28.2.
161
161
| To read this TASTy file, use a newer version of this tool compatible with TASTy 28.3.
162
162
| Please refer to the documentation for information on TASTy versioning:
@@ -169,7 +169,7 @@ class TastyHeaderUnpicklerTest {
169
169
val file = TastyVersion (28 , 3 , 1 )
170
170
val read = TastyVersion (28 , 2 , 0 )
171
171
expectUnpickleError(runTest(file, read, " Scala 3.2.2-RC1-NIGHTLY" )) {
172
- """ TASTy file produced by Scala 3.2.2-RC1-NIGHTLY has a forward incompatible TASTy version 28.3-experimental-1 ,
172
+ """ Forward incompatible TASTy file has version 28.3-experimental-1, produced by Scala 3.2.2-RC1-NIGHTLY,
173
173
| expected stable TASTy from 28.0 to 28.2.
174
174
| To read this experimental TASTy file, use the same nightly or snapshot Scala 3.2 compiler.
175
175
| Note that you are using a stable compiler, which can not read experimental TASTy.
@@ -183,7 +183,7 @@ class TastyHeaderUnpicklerTest {
183
183
val file = TastyVersion (29 , 0 , 0 )
184
184
val read = TastyVersion (28 , 3 , 0 )
185
185
expectUnpickleError(runTest(file, read, " Scala 4.0.0" )) {
186
- """ TASTy file produced by Scala 4.0.0 has a forward incompatible TASTy version 29 .0,
186
+ """ Forward incompatible TASTy file has version 29.0, produced by Scala 4.0.0,
187
187
| expected stable TASTy from 28.0 to 28.3.
188
188
| To read this TASTy file, use a more recent Scala compiler.
189
189
| Please refer to the documentation for information on TASTy versioning:
@@ -196,7 +196,7 @@ class TastyHeaderUnpicklerTest {
196
196
val file = TastyVersion (29 , 0 , 1 )
197
197
val read = TastyVersion (28 , 3 , 0 )
198
198
expectUnpickleError(runTest(file, read, " Scala 4.0.0-M1" )) {
199
- """ TASTy file produced by Scala 4.0.0-M1 has a forward incompatible TASTy version 29.0-experimental-1 ,
199
+ """ Forward incompatible TASTy file has version 29.0-experimental-1, produced by Scala 4.0.0-M1,
200
200
| expected stable TASTy from 28.0 to 28.3.
201
201
| To read this experimental TASTy file, use the same Scala compiler.
202
202
| Note that you are using a stable compiler, which can not read experimental TASTy.
@@ -211,7 +211,7 @@ class TastyHeaderUnpicklerTest {
211
211
val file = TastyVersion (29 , 0 , 1 )
212
212
val read = TastyVersion (28 , 3 , 0 )
213
213
expectUnpickleError(runTest(file, read, " Scala 4.0.0-M1" , generic = true )) {
214
- """ TASTy file produced by Scala 4.0.0-M1 has a forward incompatible TASTy version 29.0-experimental-1 ,
214
+ """ Forward incompatible TASTy file has version 29.0-experimental-1, produced by Scala 4.0.0-M1,
215
215
| expected stable TASTy from 28.0 to 28.3.
216
216
| To read this experimental TASTy file, use the version of this tool compatible with TASTy 29.0-experimental-1.
217
217
| Note that this tool does not support reading experimental TASTy.
@@ -225,7 +225,7 @@ class TastyHeaderUnpicklerTest {
225
225
val file = TastyVersion (28 , 4 , 0 )
226
226
val read = TastyVersion (28 , 4 , 1 ) // 3.4.0-RC1-NIGHTLY
227
227
expectUnpickleError(runTest(file, read, " Scala 3.4.2" )) {
228
- """ TASTy file produced by Scala 3.4.2 has a forward incompatible TASTy version 28.4 ,
228
+ """ Forward incompatible TASTy file has version 28.4, produced by Scala 3.4.2,
229
229
| expected stable TASTy from 28.0 to 28.3, or exactly 28.4-experimental-1.
230
230
| To read this TASTy file, use a Scala 3.4.0 compiler or newer.
231
231
| Please refer to the documentation for information on TASTy versioning:
@@ -238,7 +238,7 @@ class TastyHeaderUnpicklerTest {
238
238
val file = TastyVersion (28 , 4 , 2 )
239
239
val read = TastyVersion (28 , 4 , 1 )
240
240
expectUnpickleError(runTest(file, read, " Scala 3.3.3-RC2-NIGHTLY" )) {
241
- """ TASTy file produced by Scala 3.3.3-RC2-NIGHTLY has a forward incompatible TASTy version 28.4-experimental-2 ,
241
+ """ Forward incompatible TASTy file has version 28.4-experimental-2, produced by Scala 3.3.3-RC2-NIGHTLY,
242
242
| expected stable TASTy from 28.0 to 28.3, or exactly 28.4-experimental-1.
243
243
| To read this experimental TASTy file, use the same nightly or snapshot Scala 3.3 compiler.
244
244
| Please refer to the documentation for information on TASTy versioning:
@@ -252,7 +252,7 @@ class TastyHeaderUnpicklerTest {
252
252
val file = TastyVersion (28 , 4 , 2 )
253
253
val read = TastyVersion (28 , 4 , 1 )
254
254
expectUnpickleError(runTest(file, read, " Scala 3.3.3-RC2-NIGHTLY" , generic = true )) {
255
- """ TASTy file produced by Scala 3.3.3-RC2-NIGHTLY has a forward incompatible TASTy version 28.4-experimental-2 ,
255
+ """ Forward incompatible TASTy file has version 28.4-experimental-2, produced by Scala 3.3.3-RC2-NIGHTLY,
256
256
| expected stable TASTy from 28.0 to 28.3, or exactly 28.4-experimental-1.
257
257
| To read this experimental TASTy file, use the version of this tool compatible with TASTy 28.4-experimental-2.
258
258
| Please refer to the documentation for information on TASTy versioning:
0 commit comments