We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5adab73 commit af0cec0Copy full SHA for af0cec0
test/test/CompilerTest.scala
@@ -255,12 +255,7 @@ abstract class CompilerTest extends DottyTest {
255
processFileDir(sourceFile, { sf =>
256
if (extensionsToCopy.contains(sf.extension)) {
257
dest.parent.jfile.mkdirs
258
- dest.toFile.writeAll("/* ==========================================\n",
259
- " * ========= AUTOMATICALLY GENERATED ========\n",
260
- " * ========= DO NOT EDIT THIS FILE ==========\n",
261
- " * ==========================================\n",
262
- " * Original: " + sf.toString + " */\n\n",
263
- sf.slurp)
+ FileManager.copyFile(sourceFile.jfile, dest.jfile)
264
} else {
265
log(s"WARNING: ignoring $sf")
266
}
0 commit comments