Open
Description
Compiler version
3.3.1
Minimized code
Repo (branch 3
)
TLDR:
package bug.code;
import static bug.code.Symbol.*;
public class Code {
public void constant(LoadableConstant c) {
}
}
package bug.code;
public abstract class Symbol implements Constant {
}
package bug.code;
public interface Constant {
interface LoadableConstant extends Constant {
}
}
Output
-- [E006] Not Found Error: .\src\code\Code.java:6:25 ---------------------------
6 | public void constant(LoadableConstant c) {
| ^^^^^^^^^^^^^^^^
| Not found: type LoadableConstant
|
| longer explanation available when compiling with `-explain`
Expectation
Scala code compiles successfully in mixed mode, like in Scala 2.13.11.