We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64d6536 commit 433d855Copy full SHA for 433d855
compiler/test/dotty/tools/DottyTest.scala
@@ -77,7 +77,7 @@ trait DottyTest extends ContextEscapeDetection {
77
def checkTypes(source: String, typeStringss: List[List[String]])(assertion: (List[List[Type]], Context) => Unit): Unit = {
78
val dummyName = "x_x_x"
79
val vals = typeStringss.flatten.zipWithIndex.map{case (s, x)=> s"val ${dummyName}$x: $s = ???"}.mkString("\n")
80
- val gatheredSource = s" ${source}\n object A$dummyName {$vals}"
+ val gatheredSource = s"${source}\nobject A$dummyName {$vals}"
81
checkCompile("typer", gatheredSource) {
82
(tree, context) =>
83
implicit val ctx = context
0 commit comments