You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something goes wrong when we try to do mutually recursive F-bounds checking in Java units.
I am not sure what exactly. But in any case, Scala should not try to do Java's typechecking.
So we now check applications in Java units only if they refer to Scala classes.
I added a test for scala#7494, which was originally addressed by scala#9370, the PR which introduced the Java bounds
checking. Adding the test ensures that the new restrictions still glag the original error.
Fixesscala#17763
Something goes wrong when we try to do mutually recursive F-bounds
checking in Java units. I am not sure what exactly. But in any case,
Scala should not try to do Java's typechecking. So we now check
applications in Java units only if they refer to Scala classes.
I added a test for #7494, which was originally addressed by #9370, the
PR which introduced the Java bounds checking. Adding the test ensures
that the new restrictions still flag the original error.
Fixes#17763
Repro repo: https://github.com/andrzejressel/dotty-resursive-java-types
Compiler version
3.3.0
Minimized code
Output
Expectation
Interesting thing is that when these files are ported to Scala they are working fine.
The text was updated successfully, but these errors were encountered: