diff --git a/community-build/community-projects/xml-interpolator b/community-build/community-projects/xml-interpolator index 22077993ae02..e5c93c3dc977 160000 --- a/community-build/community-projects/xml-interpolator +++ b/community-build/community-projects/xml-interpolator @@ -1 +1 @@ -Subproject commit 22077993ae02467636f87b078713eba21ceb3dbd +Subproject commit e5c93c3dc97788cc4d4e12e01349962fdd60cf43 diff --git a/library/src-bootstrapped/scala/testing/typeChecks.scala b/library/src-bootstrapped/scala/compiletime/testing/typeChecks.scala similarity index 87% rename from library/src-bootstrapped/scala/testing/typeChecks.scala rename to library/src-bootstrapped/scala/compiletime/testing/typeChecks.scala index a2d8a7275129..b3fd57a92c49 100644 --- a/library/src-bootstrapped/scala/testing/typeChecks.scala +++ b/library/src-bootstrapped/scala/compiletime/testing/typeChecks.scala @@ -1,4 +1,4 @@ -package scala.testing +package scala.compiletime.testing import scala.quoted._ diff --git a/library/src-non-bootstrapped/scala/testing/typeChecks.scala b/library/src-non-bootstrapped/scala/compiletime/testing/typeChecks.scala similarity index 80% rename from library/src-non-bootstrapped/scala/testing/typeChecks.scala rename to library/src-non-bootstrapped/scala/compiletime/testing/typeChecks.scala index 0d5c73a40428..74a982cc98c5 100644 --- a/library/src-non-bootstrapped/scala/testing/typeChecks.scala +++ b/library/src-non-bootstrapped/scala/compiletime/testing/typeChecks.scala @@ -1,4 +1,4 @@ -package scala.testing +package scala.compiletime.testing inline def typeChecks(inline code: String): Boolean = scala.compiletime.error("Cannot expand typeChecks while bootstrapping the compiler") diff --git a/tests/run-with-compiler/reflect-inline/test_2.scala b/tests/run-with-compiler/reflect-inline/test_2.scala index d29a70c0f2a9..f99fbacbf0d7 100644 --- a/tests/run-with-compiler/reflect-inline/test_2.scala +++ b/tests/run-with-compiler/reflect-inline/test_2.scala @@ -4,7 +4,7 @@ object Test { def main(args: Array[String]): Unit = { val a: String = "5" assert(typeChecks("|1 + 1".stripMargin)) - assert(scala.testing.typeChecks("|1 + 1".stripMargin)) + assert(scala.compiletime.testing.typeChecks("|1 + 1".stripMargin)) assert(("|3 + " + a).stripMargin == "3 + 5") } } \ No newline at end of file diff --git a/tests/run-with-compiler/scala-tests-typeChecks.scala b/tests/run-with-compiler/scala-tests-typeChecks.scala index e9667ce4322a..be71b3880028 100644 --- a/tests/run-with-compiler/scala-tests-typeChecks.scala +++ b/tests/run-with-compiler/scala-tests-typeChecks.scala @@ -1,4 +1,4 @@ -import scala.testing._ +import scala.compiletime.testing._ object Test {