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
The Java feature is mostly about prototyping and JShell. It would be nice if -Yimports handled modules.
scala -Yimports:java.lang,scala,scala.Predef,scala.annotation,scala.util.chaining
becomes scala -Yimports:java.base,scala,scala.Predef,scala.annotation,scala.util.chaining
where for conflicts between module and package names it could support scala -Yimports:module java.base,etc
or someday just scala -Yimports:java.base,scala.base
Reproduction steps
https://openjdk.org/jeps/476
Scala version: 2.13.14
B.scala
A.java
build.sbt
project/build.properties
sbt.version=1.10.0
Problem
run
sbt compile
workaround
set
compileOrder := CompileOrder.JavaThenScala
orcompileOrder := CompileOrder.ScalaThenJava
in sbtThe text was updated successfully, but these errors were encountered: