Try another VirtualFile name

This commit is contained in:
Eugene Yokota 2021-03-06 18:27:49 -05:00
parent 8a2083cb03
commit 744a8a076d
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ lazy val root = (project in file("."))
.settings(
extraAppenders := { s => Seq(ConsoleAppender(FakePrintWriter)) },
Compile / compile / compileOptions ~= { old: CompileOptions =>
old.withSources(StringVirtualFile("<>::A.scala",
old.withSources(StringVirtualFile("/tmp/A.scala",
"""object X""") +: old.sources) },
assertEmptySourcePositionMappers := {
assert {