Skip to content
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

typo (?) in readme for workspace/w04_blockmole #720

Closed
fritjof-b opened this issue Dec 30, 2022 · 3 comments
Closed

typo (?) in readme for workspace/w04_blockmole #720

fritjof-b opened this issue Dec 30, 2022 · 3 comments

Comments

@fritjof-b
Copy link
Contributor

README for week4 lab blockmole provides the following steps:

Kör i linuxterminal med detta kommando:

scala -cp "introprog.jar:." Main

Om du kör i Windows Powershell eller Cmd byt kolon mot semikolon i kommandona ovan.

But should probably be scala -cp "introprog.jar:." run, since we're using

// hello-window.scala

@main
def run(): Unit =
...

At least the former doesn't work for me, but the latter does. :-)

Submitting a PR for this, feel free to reject if not applicable.

@bjornregnell
Copy link
Member

Are you perhaps using the new experimental runner for scala-cli that replaces the old scala with then new scala-cli runner?
https://scala-cli.virtuslab.org/docs/reference/scala-command/

@bjornregnell
Copy link
Member

Aha - never mind my previous comment. I see what you mean. (All this have to be fixed when the new runner is released...)

bjornregnell added a commit that referenced this issue Dec 30, 2022
Fixes #720, Main -> run in readme
@fritjof-b
Copy link
Contributor Author

Great, had to make sure I wasn't fooling anyone. 👍

At least one done, happy new year for now!

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

No branches or pull requests

2 participants