Skip to content

Conversation

@hamzaremmal
Copy link
Member

Finally, we make scala3-nonbootstrapped the default project :)

@hamzaremmal hamzaremmal merged commit 895dfe0 into scala:main Nov 17, 2025
45 checks passed
@hamzaremmal hamzaremmal deleted the non-bootstrapped-default branch November 17, 2025 07:27
// ==============================================================================================

lazy val `scala3-nonbootstrapped` = project
lazy val `scala3-nonbootstrapped` = project.in(file("."))
Copy link
Member

@mbovel mbovel Nov 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this, compiling scala3-nonbootstrapped now also tries to compile files in the root directory. We don't want that, do we?

Reproduction:

/scala3$ echo 'def f: Int = "Hello"' > test.scala
/scala3$ sbtn compile
[info] entering *experimental* thin client - BEEP WHIRR
[info] terminate the server with `shutdown`
> compile
[info] compiling 1 Scala source to /scala3/target/scala3-nonbootstrapped/scala-2.12/classes ...
[error] /scala3/test.scala:1:1: expected class or object definition
[error] def f: Int = "Hello"
[error] ^
[error] one error found
[info] compiling 4 Java sources to /scala3/sbt-bridge/target/scala3-sbt-bridge-nonbootstrapped/classes ...
[error] Total time: 2 s, completed Nov 17, 2025, 1:07:58 PM

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.

3 participants