Skip to content

Commit 74c3c8f

Browse files
committed
Add tastyBootstrap to recheck tests
1 parent 6d844b2 commit 74c3c8f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compiler/test/dotc/pos-test-recheck.exludes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ i6199b.scala
66
i6199c.scala
77

88
# Skolemized type fails -Ycheck after recheck (NamedType caching problem?)
9-
i583.scala
9+
i583a.scala
1010

compiler/test/dotty/tools/dotc/CompilationTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,15 +253,15 @@ class CompilationTests {
253253
Properties.compilerInterface, Properties.scalaLibrary, Properties.scalaAsm,
254254
Properties.dottyInterfaces, Properties.jlineTerminal, Properties.jlineReader,
255255
).mkString(File.pathSeparator),
256-
Array("-Ycheck-reentrant", "-language:postfixOps", "-Xsemanticdb")
256+
Array("-Ycheck-reentrant", "-Yrecheck", "-language:postfixOps", "-Xsemanticdb")
257257
)
258258

259259
val libraryDirs = List(Paths.get("library/src"), Paths.get("library/src-bootstrapped"))
260260
val librarySources = libraryDirs.flatMap(sources(_))
261261

262262
val lib =
263263
compileList("lib", librarySources,
264-
defaultOptions.and("-Ycheck-reentrant",
264+
defaultOptions.and("-Ycheck-reentrant", "-Yrecheck",
265265
"-language:experimental.erasedDefinitions", // support declaration of scala.compiletime.erasedValue
266266
// "-source", "future", // TODO: re-enable once we allow : @unchecked in pattern definitions. Right now, lots of narrowing pattern definitions fail.
267267
))(libGroup)

0 commit comments

Comments
 (0)