Skip to content

Commit b39e36f

Browse files
committed
Fix and add neg tests with custom args
1 parent e0e9d72 commit b39e36f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ class CompilationTests extends ParallelTesting {
154154
compileDir("tests/neg-custom-args/adhoc-extension", defaultOptions.and("-strict", "-feature", "-Xfatal-warnings")),
155155
compileFile("tests/neg/i7575.scala", defaultOptions.and("-language:_")),
156156
compileFile("tests/neg-custom-args/kind-projector.scala", defaultOptions.and("-Ykind-projector")),
157+
compileFile("tests/neg-custom-args/typeclass-derivation2.scala", defaultOptions.and("-Yerased-terms")),
157158
).checkExpectedErrors()
158159
}
159160

tests/neg-custom-args/typeclass-derivation2.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ object Show {
214214
import TypeLevel._
215215

216216
inline def tryShow[T](x: T): String = summonInline[Show[T]].show(x)
217-
}
218217

219218
inline def showElems[Elems <: Tuple](elems: Mirror, n: Int): List[String] =
220219
inline erasedValue[Elems] match {

0 commit comments

Comments
 (0)