diff --git a/compiler/test/dotty/tools/backend/jvm/DottyBytecodeTest.scala b/compiler/test/dotty/tools/backend/jvm/DottyBytecodeTest.scala index 842164339b24..c66386e97c89 100644 --- a/compiler/test/dotty/tools/backend/jvm/DottyBytecodeTest.scala +++ b/compiler/test/dotty/tools/backend/jvm/DottyBytecodeTest.scala @@ -46,6 +46,7 @@ trait DottyBytecodeTest { def initCtx = { val ctx0 = (new ContextBase).initialCtx.fresh val outputDir = new VirtualDirectory("") + ctx0.setSetting(ctx0.settings.silentWarnings, true) ctx0.setSetting(ctx0.settings.classpath, TestConfiguration.basicClasspath) ctx0.setProperty(ContextDoc, new ContextDocstrings) ctx0.setSetting(ctx0.settings.outputDir, outputDir)