Skip to content

Changed most Dotty references to Scala 3 #32

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

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

alvinj
Copy link
Contributor

@alvinj alvinj commented Dec 14, 2020

I just used this template and noticed that it still references Dotty in several places, so I updated those. I also modified the README slightly.

Also, I didn’t know how to test this code, so please consider it untested.

@SethTisue SethTisue merged commit a1339c4 into scala:master Dec 14, 2020
@SethTisue
Copy link
Member

tested post-merge:

~ % sbt new scala/scala3.g8
[info] welcome to sbt 1.4.4 (AdoptOpenJDK Java 1.8.0_275)
[info] loading global plugins from /Users/tisue/.sbt/1.0/plugins
[info] set current project to tisue (in build file:/Users/tisue/)
[info] set current project to tisue (in build file:/Users/tisue/)

A template to demonstrate a minimal Scala 3 application 

name [Scala 3 Project Template]: foo

Template applied in /Users/tisue/./foo
~ % cd foo
README.md  build.sbt  project/   src/
~/foo % less build.sbt 
~/foo % sbt run
[info] welcome to sbt 1.4.4 (AdoptOpenJDK Java 1.8.0_275)
[info] loading global plugins from /Users/tisue/.sbt/1.0/plugins
[info] loading settings for project foo-build from plugins.sbt ...
[info] loading project definition from /Users/tisue/foo/project
[info] loading settings for project root from build.sbt ...
[info] set current project to scala3-simple (in build file:/Users/tisue/foo/)
[info] compiling 1 Scala source to /Users/tisue/foo/target/scala-3.0.0-M2/classes ...
[info] running Main$package 
Hello world!
I was compiled by Scala 3. :)
[success] Total time: 3 s, completed Dec 13, 2020 6:56:17 PM

@alvinj
Copy link
Contributor Author

alvinj commented Dec 14, 2020

Thanks! And now I know how to test it! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants