Skip to content

Commit 1432184

Browse files
committed
Remove unnecessary imports in quote tests
1 parent 2fc7079 commit 1432184

File tree

11 files changed

+1
-15
lines changed

11 files changed

+1
-15
lines changed

tests/pos/quote-0.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ import scala.quoted._
22

33
import dotty.tools.dotc.quoted.Toolbox._
44

5-
65
object Macros {
76

87
inline def assert(expr: => Boolean): Unit =
9-
~ assertImpl('(expr))
8+
~assertImpl('(expr))
109

1110
def assertImpl(expr: Expr[Boolean]) =
1211
'{ if !(~expr) then throw new AssertionError(s"failed assertion: ${~showExpr(expr)}") }

tests/run/tasty-custom-show/quoted_1.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import scala.quoted._
2-
import dotty.tools.dotc.quoted.Toolbox._
32

43
import scala.tasty.TopLevelSplice
54
import scala.tasty.Tasty

tests/run/tasty-extractors-1/quoted_1.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import scala.quoted._
2-
import dotty.tools.dotc.quoted.Toolbox._
32

43
import scala.tasty._
54

tests/run/tasty-extractors-2/quoted_1.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import scala.quoted._
2-
import dotty.tools.dotc.quoted.Toolbox._
32

43
import scala.tasty._
54

tests/run/tasty-extractors-3/quoted_1.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import scala.quoted._
2-
import dotty.tools.dotc.quoted.Toolbox._
32

43
import scala.tasty.TopLevelSplice
54
import scala.tasty.Tasty

tests/run/tasty-extractors-constants-1/quoted_1.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import scala.quoted._
2-
import dotty.tools.dotc.quoted.Toolbox._
32

43
import scala.tasty._
54
import scala.tasty.util._

tests/run/tasty-extractors-owners/quoted_1.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import scala.quoted._
2-
import dotty.tools.dotc.quoted.Toolbox._
32

43
import scala.tasty._
54
import scala.tasty.util.TreeTraverser

tests/run/tasty-extractors-types/quoted_1.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import scala.quoted._
2-
import dotty.tools.dotc.quoted.Toolbox._
32

43
import scala.tasty._
54
import scala.tasty.util.TreeTraverser

tests/run/tasty-linenumber/quoted_1.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import scala.quoted._
22

3-
import dotty.tools.dotc.quoted.Toolbox._
4-
53
import scala.tasty._
64

75
class LineNumber(val value: Int) {

tests/run/tasty-location/quoted_1.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import scala.quoted._
22

3-
import dotty.tools.dotc.quoted.Toolbox._
4-
53
import scala.tasty._
64

75
case class Location(owners: List[String])

tests/run/tasty-positioned/quoted_1.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import scala.quoted._
22

3-
import dotty.tools.dotc.quoted.Toolbox._
4-
53
import scala.tasty._
64

75
case class Position(path: String, start: Int, end: Int,

0 commit comments

Comments
 (0)