-
Notifications
You must be signed in to change notification settings - Fork 269
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
Compilation error in cell 12 of 1_intro_to_scala #49
Comments
And after i added import scala.util once in this cell the issue dissapeared. |
Thanks for pointing this out! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting an error trying to run code in the cell number 12 in the notebook:
error is:
cmd17.sc:1: object Random is not a member of package ammonite.util val randomList = List(util.Random.nextInt(), util.Random.nextInt(), util.Random.nextInt(), util.Random.nextInt()) ^cmd17.sc:1: object Random is not a member of package ammonite.util val randomList = List(util.Random.nextInt(), util.Random.nextInt(), util.Random.nextInt(), util.Random.nextInt()) ^cmd17.sc:1: object Random is not a member of package ammonite.util val randomList = List(util.Random.nextInt(), util.Random.nextInt(), util.Random.nextInt(), util.Random.nextInt()) ^cmd17.sc:1: object Random is not a member of package ammonite.util val randomList = List(util.Random.nextInt(), util.Random.nextInt(), util.Random.nextInt(), util.Random.nextInt()) ^Compilation Failed Compilation Failed
According to the Coursier log i should have
https://repo1.maven.org/maven2/com/lihaoyi/ammonite-util_2.11/1.2.1-12-bc459e3/ammonite-util_2.11-1.2.1-12-bc459e3.pom 100,0% [##########] 1,9 KiB (11,0 KiB / s)
installed as a dependency for almond.
The text was updated successfully, but these errors were encountered: