Skip to content

Commit

Permalink
remove 3.2 language imports
Browse files Browse the repository at this point in the history
  • Loading branch information
bishabosha committed Mar 15, 2022
1 parent 83bfea9 commit b5a98e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 19 deletions.
20 changes: 3 additions & 17 deletions library/src/scala/runtime/stdLibPatches/language.scala
Original file line number Diff line number Diff line change
Expand Up @@ -162,33 +162,19 @@ object language:
@compileTimeOnly("`3.1` can only be used at compile time in import statements")
object `3.1`

/* This can be added when we go to 3.2
/** Set source version to 3.2-migration.
*
* @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html]]
* @see [[https://scalacenter.github.io/scala-3-migration-guide/docs/scala-3-migration-mode]]
*/
@compileTimeOnly("`3.2-migration` can only be used at compile time in import statements")
object `3.2-migration`
/** Set source version to 3.2
*
* @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html]]
* @see [[https://scalacenter.github.io/scala-3-migration-guide/docs/scala-3-migration-mode]]
*/
@compileTimeOnly("`3.2` can only be used at compile time in import statements")
object `3.2`

/* This can be added when we go to 3.3
/** Set source version to 3.3-migration.
*
* @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html]]
*/
@compileTimeOnly("`3.3-migration` can only be used at compile time in import statements")
object `3.3-migration`
/** Set source version to 3.3
*
* @see [[https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html]]
*/
@compileTimeOnly("`3.3` can only be used at compile time in import statements")
object `3.3`
*/
end language
1 change: 0 additions & 1 deletion tests/pos/source-import-3-2-migration.scala

This file was deleted.

1 change: 0 additions & 1 deletion tests/pos/source-import-3-2.scala

This file was deleted.

0 comments on commit b5a98e7

Please sign in to comment.