Skip to content

Commit b5a98e7

Browse files
committed
remove 3.2 language imports
1 parent 83bfea9 commit b5a98e7

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

library/src/scala/runtime/stdLibPatches/language.scala

+3-17
Original file line numberDiff line numberDiff line change
@@ -162,33 +162,19 @@ object language:
162162
@compileTimeOnly("`3.1` can only be used at compile time in import statements")
163163
object `3.1`
164164

165+
/* This can be added when we go to 3.2
165166
/** Set source version to 3.2-migration.
166167
*
167-
* @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html]]
168+
* @see [[https://scalacenter.github.io/scala-3-migration-guide/docs/scala-3-migration-mode]]
168169
*/
169170
@compileTimeOnly("`3.2-migration` can only be used at compile time in import statements")
170171
object `3.2-migration`
171172
172173
/** Set source version to 3.2
173174
*
174-
* @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html]]
175+
* @see [[https://scalacenter.github.io/scala-3-migration-guide/docs/scala-3-migration-mode]]
175176
*/
176177
@compileTimeOnly("`3.2` can only be used at compile time in import statements")
177178
object `3.2`
178-
179-
/* This can be added when we go to 3.3
180-
/** Set source version to 3.3-migration.
181-
*
182-
* @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html]]
183-
*/
184-
@compileTimeOnly("`3.3-migration` can only be used at compile time in import statements")
185-
object `3.3-migration`
186-
187-
/** Set source version to 3.3
188-
*
189-
* @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html]]
190-
*/
191-
@compileTimeOnly("`3.3` can only be used at compile time in import statements")
192-
object `3.3`
193179
*/
194180
end language

tests/pos/source-import-3-2-migration.scala

-1
This file was deleted.

tests/pos/source-import-3-2.scala

-1
This file was deleted.

0 commit comments

Comments
 (0)