Skip to content

Commit a2e4c49

Browse files
committed
Move to custom args for run-with-compiler
1 parent ad06ab0 commit a2e4c49

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ class CompilationTests extends ParallelTesting {
198198
implicit val testGroup: TestGroup = TestGroup("runAll")
199199
compileFilesInDir("tests/run", defaultOptions) +
200200
compileFilesInDir("tests/run-no-optimise", defaultOptions) +
201-
compileFilesInDir("tests/run-with-compiler", defaultRunWithCompilerOptions)
201+
compileFilesInDir("tests/run-with-compiler", defaultRunWithCompilerOptions) +
202+
compileFile("tests/run-with-compiler-custom-args/staged-streams_1.scala", defaultRunWithCompilerOptions without "-Yno-deep-subtypes")
202203
}.checkRuns()
203204

204205
// Generic java signatures tests ---------------------------------------------

tests/run-with-compiler/staged-streams_1.scala renamed to tests/run-with-compiler-custom-args/staged-streams_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ object Test {
7373
}
7474
}
7575
case nested: Nested[a, bt] => {
76-
fold_raw[bt](((e: bt) => fold_raw(consumer, nested.nestedf(e))), Linear(nested.producer))
76+
fold_raw[bt](((e: bt) => fold_raw[a](consumer, nested.nestedf(e))), Linear(nested.producer))
7777
}
7878
}
7979
}

0 commit comments

Comments
 (0)