-
Notifications
You must be signed in to change notification settings - Fork 1k
[2.x] build.sbt does not support comma separated import #8826
Copy link
Copy link
Closed
Labels
Description
steps
build.sbt
import scala.util, util.Random
def f = Random.nextInt()project/build.properties
sbt.version=2.0.0-RC9problem
-- [E103] Syntax Error: comma-separated-import-project-example/build.sbt:-1:0 ------------------
-1 |util.Random
|^^^^
|Illegal start of toplevel definition
|
| longer explanation available when compiling with `-explain`
-- [E006] Not Found Error: comma-separated-import-project-example/build.sbt:1:8 ----------------
1 |def f = Random.nextInt()
| ^^^^^^
| Not found: Random
|
| longer explanation available when compiling with `-explain`
expectation
notes
e.g.
Reactions are currently unavailable