Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No errors shown on forwards/backwards compat test failure #14303

Closed
nicolasstucki opened this issue Jan 20, 2022 · 0 comments · Fixed by #14339
Closed

No errors shown on forwards/backwards compat test failure #14303

nicolasstucki opened this issue Jan 20, 2022 · 0 comments · Fixed by #14339
Assignees
Labels

Comments

@nicolasstucki
Copy link
Contributor

nicolasstucki commented Jan 20, 2022

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.

nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Jan 24, 2022
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Jan 25, 2022
@anatoliykmetyuk anatoliykmetyuk added stat:needs triage Every issue needs to have an "area" and "itype" label itype:meta Issues about process/similar and removed stat:needs triage Every issue needs to have an "area" and "itype" label labels Jan 25, 2022
olsdavis pushed a commit to olsdavis/dotty that referenced this issue Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants