Skip to content

Commit 6ab1467

Browse files
committed
Cleanup repl scripted tests flags
1 parent d774b40 commit 6ab1467

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

compiler/test-resources/repl/erased

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
scala> import scala.language.experimental.erasedDefinitions
12
scala> def f(erased a: Int): Int = ???
23
def f(erased a: Int): Int
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
scala> import scala.language.experimental.erasedDefinitions
12
scala> def f(using erased a: Int): Int = ???
23
def f(using erased a: Int): Int

compiler/test-resources/type-printer/test-definitions

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@ scala> trait E
1919
scala> implicit def x: Int = 1
2020
def x: Int
2121

22+
scala> import scala.language.experimental.erasedDefinitions
23+
2224
scala> erased def y: Int = 1
2325
def y: Int

compiler/test/dotty/tools/repl/ReplTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,6 @@ extends ReplDriver(options, new PrintStream(out, true, StandardCharsets.UTF_8.na
104104
}
105105

106106
object ReplTest:
107-
val commonOptions = Array("-color:never", "-language:experimental.erasedDefinitions", "-pagewidth", "80")
107+
val commonOptions = Array("-color:never", "-pagewidth", "80")
108108
val defaultOptions = commonOptions ++ Array("-classpath", TestConfiguration.basicClasspath)
109109
lazy val withStagingOptions = commonOptions ++ Array("-classpath", TestConfiguration.withStagingClasspath)

0 commit comments

Comments
 (0)