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

Infinite compilation with Scala 2.12.4 #1382

Closed
Gedochao opened this issue Sep 21, 2022 · 3 comments · Fixed by #3470
Closed

Infinite compilation with Scala 2.12.4 #1382

Gedochao opened this issue Sep 21, 2022 · 3 comments · Fixed by #3470
Assignees
Labels
bug Something isn't working Community help wanted Issues that idicate features that are nice-to-have but core team does not have time to work on it wontfix This will not be worked on

Comments

@Gedochao
Copy link
Contributor

Version(s)
0.1.14

Describe the bug
Passing 2.12.4 as the Scala version triggers infinite compilation.

To Reproduce

▶ cat Main.scala
object Main extends App  { println("Hello") }

▶ scala-cli Main.scala -S 2.12.4
Compiling project (Scala 2.12.4, JVM)

(the compilation doesn't end until the process is terminated)

Also, the repl doesn't seem to work, either.

Expected behaviour

▶ scala-cli Main.scala -S 2.12.4
Hello
@Gedochao Gedochao added bug Something isn't working Community help wanted Issues that idicate features that are nice-to-have but core team does not have time to work on it labels Sep 21, 2022
@Friendseeker
Copy link

Okay to close the issue?

This is an upstream issue from Zinc & Scala Compiler, and while I don't know all the details, it is decided that Zinc will not fix this issue due to low usage of Scala 2.12.4

@SethTisue
Copy link
Contributor

SethTisue commented Dec 25, 2024

I would also suggest closing this as wontfix.

@He-Pin
Copy link

He-Pin commented Dec 25, 2024

Better to have an error message in scala cli.

@Gedochao Gedochao self-assigned this Jan 8, 2025
@Gedochao Gedochao added the wontfix This will not be worked on label Jan 8, 2025
@github-project-automation github-project-automation bot moved this from To do to Done in Scala CLI Board Jan 31, 2025
@Gedochao Gedochao closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Community help wanted Issues that idicate features that are nice-to-have but core team does not have time to work on it wontfix This will not be worked on
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants