Closed
Description
Compiler version
When compiling with test with a file containing the c3.0.0
name, the errors are not reported.
Minimized example
tests/pos/mytest/A_1_c3.0.0.scala
def f: Int = match
tests/pos/mytest/B_2.scala
def test() = f
Output
sbt> testCompilation tests/pos/mytest
...
[info] Test dotty.tools.dotc.CompilationTests.pos started
-- [E006] Not Found Error: tests/pos/mytest/B_2.scala:1:13 ----------------------------------------
1 |def test() = f
| ^
| Not found: f
Compilation failed for: 'tests/pos/mytest'
[=======================================] completed (1/1, 1 failed, 5s)
...
Expectation
The errors of A_1_c3.0.0.scala
should be reported to be able to fix them easily. Note that it might be an error that only occurred in that version.